Displaying 1 result from an estimated 1 matches for "application_controller_spec2".
Did you mean:
application_controller_spec
2007 Dec 12
3
undefined method: controller_name
...not exist"))
response.should render_template("error/404")
end
end
and it works.
After updating to rspec revision 3136 and running script/generate rspec,
I get the following error:
kwigger:~/workspace/eTriever-spec-tmp alvin$ script/spec --backtrace
spec/unit/controllers/application_controller_spec2.rb
./spec/unit/controllers/application_controller_spec2.rb:10: undefined
method `controller_name'' for
Spec::Rails::Example::RailsExampleGroup::Subclass_1:Class (NoMethodError)
from
/Users/alvin/workspace/eTriever-spec-tmp/vendor/plugins/rspec/lib/spec/example/example_group_metho...