[rspec-devel] [ rspec-Bugs-10534 ] Windows: undefined method `controller_name'
Dominic Sisneros
dsisnero at gmail.com
Tue Jun 5 20:47:34 EDT 2007
I am getting similar errors on Windows.
running ruby-debug
29 elsif opts[:behaviour_type]
30 behaviour_type = opts[:behaviour_type]
31 elsif opts[:spec_path] =~
/spec\/(#{BEHAVIOUR_CLASSES.keys.join('|')})/
32 behaviour_type = $1.to_sym
33 else
34 behaviour_type = :default
35 end
36 return BEHAVIOUR_CLASSES[behaviour_type].new(*args, &block)
37 end
38
and
(rdb:1) eval opts
{:spec_path=>"./spec\\controllers\\cart_controller_spec.rb:30"}
so the behaviour_type gets set to :default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20070605/79ae45ec/attachment.html
More information about the rspec-devel
mailing list