Just tested the debugger statement from controller and it worked as it
should
I'm using the latest RSpec gems, have this in my Gemfile:
group :development do
platforms :mri_18 do
gem "ruby-debug"
end
platforms :mri_19 do
gem "ruby-debug19", :require => "ruby-debug"
end
end
and run rspec with -d option.
So you probably should supply us with your failing example.
On 2/5/2011 4:49 PM, Martin Streicher wrote:
I placed a debugger statement in a controller being tested with rspec2
to catch what's going on, but the statement is ignored? Do I have to
do anything special to get the debugger to stop in the controller
under rspec? If I place the debugger statement in the spec, I get a
break -- but I want the break in the controller itself.
Ideas?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users