Displaying 1 result from an estimated 1 matches for "buildings_controller_spec".
2011 Jan 07
2
"No route matches" error?
...this test in
my terminal"
> 1) BuildingsController GET ''show''
> should be successful
> Failure/Error: get ''show''
> No route matches {:controller=>"buildings", :action=>"show"}
> # ./spec/controllers/buildings_controller_spec.rb:17:in `block (3 levels) in <top (required)>''
However, I don''t understand why it''s coming up because I already have
this route created ("resources :buildings"), and I ran `rake routes`
and made sure it''s there.
> building GET /buildings/:id...