chrisk/samuel — pull request #9 by xian (2012-03-02 22:55:49+00:00)
Title: fixes race condition(?) or something

187075 You have a nil object when you didn't expect it!
187076 You might have expected an instance of ActiveRecord::Base.
187077 The error occurred while evaluating nil.[]
187078 /Users/square/.rvm/gems/ree-1.8.7-2011.12/gems/samuel-0.3.2/lib/samuel/diary.rb:14:in `record_response'
187079 /Users/square/.rvm/gems/ree-1.8.7-2011.12/gems/samuel-0.3.2/lib/samuel/driver_patches/net_http.rb:23:in `request'
187080 /Users/square/.rvm/rubies/ree-1.8.7-2011.12/lib/ruby/1.8/net/http.rb:772:in `get'
187081 /Users/square/Development/web/test_lib/cucumber_helper.rb:96:in `restart_passenger'
187082 /Users/square/Development/web/test_lib/cucumber_helper.rb:16:in `before_all'
187083 /Users/square/Development/web/test_lib/cucumber_helper.rb:165:in `call'
187084 /Users/square/Development/web/test_lib/cucumber_helper.rb:165:in `start'
187085 /Users/square/Development/web/test_lib/cucumber_helper.rb:24:in `before_all'
187086 /Users/square/Development/web/test_lib/cucumber_helper.rb:22:in `initialize'
187087 /Users/square/Development/web/test_lib/cucumber_helper.rb:22