Webrat with adapter for Rails 3?

31 views
Skip to first unread message

Kristian

unread,
Feb 19, 2010, 2:48:29 PM2/19/10
to webrat
We almost have a working version of cucumber-rails for Rails 3.

We just need to ensure that we can work with a version of Webrat that
also supports Rails 3. What is the status on this?

Any good branches for Rails 3 or should it work with Rails 3 without
any dependency issues?

http://github.com/aslakhellesoy/cucumber-rails/issues/#issue/13
--
Features do appear to be working, but unfortunately I think webrat
needs an adapter for Rails 3. I got it partially working with:

Webrat.configure do |config|

config.mode = :rack
config.open_error_files = false # Set to true if you want error pages
to pop up in the browser

end class Cucumber::Rails::World

include Webrat::Methods
include Webrat::Matchers

end

inside my features/support/env.rb but now it is failing with a new
NoMethodError. webrat has too many forks on github to see if someone
has already fix this so I am continuing to move forward slowly. Such
is life, living at the bleeding edge of all this stuff.
--

Any assistance, helps or tips are greatly appreciated!

ericindc

unread,
Feb 27, 2010, 3:24:54 PM2/27/10
to webrat
Hi Kristian,

Have you had any luck with this over the past week? I'm afraid I
don't have the answers, but after toying around with Rails 3 and
Capybara, I'm looking to reconnect with Webrat. I've not been able to
get it working.

Reply all
Reply to author
Forward
0 new messages