Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Created July 15, 2009 04:29
Show Gist options
  • Save dchelimsky/147448 to your computer and use it in GitHub Desktop.
Save dchelimsky/147448 to your computer and use it in GitHub Desktop.
1)
Test::Unit::AssertionFailedError in 'A controller example running in integration mode support custom routes'
The generated path <"/custom_route_spec/custom_route"> did not match <"/custom_route">
If you're expecting this failure, we suggest {:=>""}.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:7:
2)
Test::Unit::AssertionFailedError in 'A controller example running in integration mode recognize routes with methods besides :get'
The generated path <"/rspec_on_rails_specs/update/37"> did not match <"/rspec_on_rails_specs/37">
If you're expecting this failure, we suggest {:put=>"/rspec_on_rails_specs/37"}.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:22:
3)
Test::Unit::AssertionFailedError in 'A controller example running in isolation mode support custom routes'
The generated path <"/custom_route_spec/custom_route"> did not match <"/custom_route">
If you're expecting this failure, we suggest {:=>""}.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:7:
4)
Test::Unit::AssertionFailedError in 'A controller example running in isolation mode recognize routes with methods besides :get'
The generated path <"/rspec_on_rails_specs/update/37"> did not match <"/rspec_on_rails_specs/37">
If you're expecting this failure, we suggest {:put=>"/rspec_on_rails_specs/37"}.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:22:
5)
Test::Unit::AssertionFailedError in 'Routing Examples support custom routes'
The generated path <"/custom_route_spec/custom_route"> did not match <"/custom_route">
If you're expecting this failure, we suggest {:=>""}.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:7:
6)
Test::Unit::AssertionFailedError in 'Routing Examples recognize routes with methods besides :get'
The generated path <"/rspec_on_rails_specs/update/37"> did not match <"/rspec_on_rails_specs/37">
If you're expecting this failure, we suggest {:put=>"/rspec_on_rails_specs/37"}.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:22:
7)
Test::Unit::AssertionFailedError in 'Routing Examples support custom routes'
The generated path <"/custom_route_spec/custom_route"> did not match <"/custom_route">
If you're expecting this failure, we suggest { :get => "/custom_route" }.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:102:
8)
Test::Unit::AssertionFailedError in 'Routing Examples recognize routes with methods besides :get'
The generated path <"/rspec_on_rails_specs/update/37"> did not match <"/rspec_on_rails_specs/37">
If you're expecting this failure, we suggest { :put => "/rspec_on_rails_specs/37" }.should_not be_routable
./spec/spec/rails/example/shared_routing_example_group_examples.rb:117:
9)
'Routing Examples when an expected failure passes instead, suggest should_not be_routable' FAILED
expected Exception with message matching /expected a routing error.*be_routable/mi, got #<Test::Unit::AssertionFailedError: The generated path <"/rspec_on_rails_specs/update/37"> did not match <"/rspec_on_rails_specs/37">
If you're expecting this failure, we suggest { :put => "/rspec_on_rails_specs/37" }.should_not be_routable>
./spec/spec/rails/example/shared_routing_example_group_examples.rb:149:
10)
'Routing Examples on unexpected fail due to wrong HTTP method, raise the method error and suggest should_not be_routable()' FAILED
expected ActionController::MethodNotAllowed with message matching /rspec_on_rails_specs\/37.*should_not be_routable/, got #<Test::Unit::AssertionFailedError: The generated path <"/rspec_on_rails_specs/update/37"> did not match <"/rspec_on_rails_specs/37">
If you're expecting this failure, we suggest { :post => "/rspec_on_rails_specs/37" }.should_not be_routable>
./spec/spec/rails/example/shared_routing_example_group_examples.rb:157:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment