[rspec-users] [ANN] Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications

Jens-Christian Fischer jcfischer.lists at gmail.com
Fri Nov 30 16:28:38 EST 2007


>
> Code is available at: http://svn.eastmedia.net/public/plugins/webrat/

> * Rails integration tests in Test::Unit _or_
> * RSpec stories (using an RSpec version >= revision 2997)

I had to add:

require 'cgi'
require "cgi/session"
require 'cgi/session/pstore'
require 'action_controller/cgi_ext/cgi_methods'

in the beginning of lib/webrat/session.rb to get rid of the following  
error:

    NameError: uninitialized constant  
ActionController::Integration::Session::CGIMethods
     /Users/jcf/dev/work/quevita/vendor/rails/activerecord/lib/../../ 
activesupport/lib/active_support/dependencies.rb:478:in `const_missing'
/Users/jcf/dev/work/quevita/vendor/plugins/webrat/lib/webrat/ 
session.rb:107:in `add_form_data'
/Users/jcf/dev/work/quevita/vendor/plugins/webrat/lib/webrat/ 
session.rb:175:in `add_default_params_for'


nice work!

Jens-Christian


More information about the rspec-users mailing list