[rspec-users] debugger in controller in rspec
dolzenko at gmail.com
Tue Feb 8 03:54:47 EST 2011
Just tested the debugger statement from controller and it worked as it
I'm using the latest RSpec gems, have this in my Gemfile:
group :development do
platforms :mri_18 do
platforms :mri_19 do
gem "ruby-debug19", :require => "ruby-debug"
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.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users