search for: search_routing_spec

Displaying 1 result from an estimated 1 matches for "search_routing_spec".

2011 Apr 13
0
RSpec Routing Error: Expected block to return true value.
...message stating "Expected block to return true value." This leads me to think that the block isn''t able to execute due to something being off in my route. Taking a look at the below code, does anyone have any ideas as to where I could be screwing up? Thanks. # in spec/routing/search_routing_spec.rb it "routes /search/users/foo/bar to search#users with name => foo, server => bar" do { :get => ''/search/users/foo/bar'' }.should route_to( :controller => "search", :action => "users", :name => "foo&quo...