Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Merb + Cucumber integration

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Generators
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 merb_cucumber.gemspec
README.textile

merb_cucumber

Merb + Cucumber integration with Webrat support.

Requirements

  • 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.

Usage

To execute all the features run

$ rake features

Notes

  • 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.
Something went wrong with that request. Please try again.