Skip to content
This is some example code that shows how to do a basic cucumber test for a remote web site using webrat in mechanize mode.
Find file
Pull request Compare This branch is 1 commit behind cayblood:master.



1) gem install rvm
2) follow the instructions for setting up rvm
3) rvm install 1.8.7
4) rvm use 1.8.7
5) rvm gemset create cucumber-webrat-mechanize-example
6) rvm gemset use cucumber-webrat-mechanize-example
7) run the following commands:

gem install bundler --pre
bundle install
bundle exec cucumber features

8) You should now be able to execute the example by typing rake

For more information, please look at this blog post:
Something went wrong with that request. Please try again.