Displaying 1 result from an estimated 1 matches for "expectati".
Did you mean:
expectation
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
...like
the one below.
I found Bug6707
(http://rubyforge.org/pipermail/rspec-devel/2007-March/002147.html
), but I get the error no matter how I run the spec
( whether I use rake or not)
Any ideas?
I am using 0.8.2
The Error:
C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib/spec/expectati
ons/sugar.rb:14:in `call'': undefined method `controller_name'' for
#<Spec::Runner
::ContextEvalModule:0x35e6a98> (NoMethodError)
from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec- 0.8.2
/lib/s
pec/expectations/sugar.rb:14:in `_method_missing''...