[rspec-users] rspec - undefined method `describe' for main:Object

Mano ah lists at ruby-forum.com
Fri Oct 10 23:50:15 EDT 2008


How to solve the below error

1)
NoMethodError in 'LoginController index should get successfully'
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.status
./login_controller_spec.rb:9:

2)
NoMethodError in 'LoginController index should render 202 file'
undefined method `render_template' for 
#<Spec::Example::ExampleGroup::Subclass_1
:0x47bc128>
./login_controller_spec.rb:13:

Finished in 0.437 seconds
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list