Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (19 sloc) 700 Bytes


Merb + Cucumber integration with Webrat support.


  • merb-core >= 1.0
  • cucumber >= 0.1.9
  • webrat >= 0.3.1 (Optional)

First Time

Inside your merb project root, run

$ merb-gen cucumber

For Webrat support, run

$ merb-gen cucumber —session-type webrat

This will also install a sample login feature that should pass if you’re using merb-auth.


To execute all the features run

$ rake features


  • When you are implementing the steps of an scenario, please use the new request test helper, if you try to use the
    dispatch_to method, it won’t work as expected.
  • Webrat methods other than ‘visits’ are now singular only.