In the past I've done this... File.open(RAILS_ROOT + "/public/duh.html", "w"){ |f| f.puts response.body }
And then in terminal I go to my project root and type "open public/duh.html". Although you may be able to get away with doing this in your debugging session: system "open #{RAILS_ROOT}/public/duh.html" HTH, Zach On Mon, Sep 1, 2008 at 1:28 PM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > Given I am running an rspec story > And it uses webrat > And I am using rdebug > > When I am at a breakpoint (eg after a 'visits' in a step) > > Then how can I open the current response in a browser to see what the page > actually looks like at that point? > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- Zach Dennis http://www.continuousthinking.com http://www.mutuallyhuman.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users