Displaying 1 result from an estimated 1 matches for "buildingscontroller".
Did you mean:
building_controller
2011 Jan 07
2
"No route matches" error?
I am new Rspec and just started by generating a new controller on
Rails 3. It generates some Rspec tests by default. I have a question
about how to make them pass though. As it stands, I see 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 <t...