Thank you for all the replies. I'm unable to use ruby-debug, cos am running on JRuby, but a liberal sprinkling of logger.debug in the controllers helped me sort out what was going on the test.log. Thanks for that tip.
It made me want for a way of writing something to the log from within the rspec step though - is there a quick way of doing that? Cheers, Steven On Mon, Apr 28, 2008 at 9:16 PM, Bart Zonneveld <[EMAIL PROTECTED]> wrote: > > On 28 apr 2008, at 17:31, steven shingler wrote: > > > > > When "the user logs in with username and password" do > > post "/sessions/create", :user => { :login => @username, :password > > => @password } > > end > > > > Try post_via_redirect... > > greetz, > bartz > > > _______________________________________________ > 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