Skip to content

Instantly share code, notes, and snippets.

@samaaron
Created February 10, 2009 10:32
Show Gist options
  • Select an option

  • Save samaaron/61342 to your computer and use it in GitHub Desktop.

Select an option

Save samaaron/61342 to your computer and use it in GitHub Desktop.
1) when given no id should redirect FAILED:
[./test/functional/challenges_controller_test.rb:433:in `__bind_1234261799_596034'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `call'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `test: when given no id should redirect. '
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `__send__'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `run']:
Expected response to be a redirect to <http://test.host/> but was a redirect to <http://test.host/challenges>.
2) when logged in creating a new news item should save with a POST FAILED:
[./test/functional/news_items_controller_test.rb:76:in `__bind_1234261838_605766'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `call'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `test: when logged in creating a new news item should save with a POST. '
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `__send__'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `run']:
Expected response to be a redirect to <http://test.host/news_items/create/1-mietpkgvgk> but was a redirect to <http://test.host/challenges/1-fnjqoamoux/news_items/1-mietpkgvgk>.
3) when logged in creating a new profile should save with a POST and attachment FAILED:
[./test/functional/profiles_controller_test.rb:68:in `__bind_1234261843_662611'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `call'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `test: when logged in creating a new profile should save with a POST and attachment. '
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `__send__'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `run']:
Expected response to be a redirect to <http://test.host/profiles/create/1> but was a redirect to <http://test.host/profiles/1>.
4) when logged in creating a new profile should save with a POST FAILED:
[./test/functional/profiles_controller_test.rb:59:in `__bind_1234261844_7609'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `call'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/plugins/shoulda/lib/shoulda/context.rb:254:in `test: when logged in creating a new profile should save with a POST. '
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `__send__'
/Users/sam/innovationfactory/suite/dev/ideaman/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:60:in `run']:
Expected response to be a redirect to <http://test.host/profiles/create/1> but was a redirect to <http://test.host/profiles/1>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment