This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Oct 19 08:09:25 -0700 2008 | |
| |
Generators | Wed Nov 19 11:14:24 -0800 2008 | |
| |
LICENSE | Fri Oct 17 14:07:22 -0700 2008 | |
| |
README.textile | Wed Mar 18 16:23:04 -0700 2009 | |
| |
Rakefile | Fri Jan 09 06:56:34 -0800 2009 | |
| |
TODO | Fri Oct 24 14:53:52 -0700 2008 | |
| |
lib/ | Wed Aug 26 12:05:48 -0700 2009 | |
| |
merb_cucumber.gemspec | Wed Mar 18 16:23:23 -0700 2009 | |
| |
spec/ | Tue Mar 31 02:27:21 -0700 2009 |
README.textile
merb_cucumber
Merb + Cucumber integration with Webrat support.
Migrating to merb_cucumber 0.5.0
merb_cucumber 0.5.0 now requires a version greater than cucumber 0.1.13, which introduces some breaking changes. If you were already using merb_cucumber, you’ll need to do the following:
- Change the last line of bin/cucumber to be:
- Add a cucumber.yml to your Merb.root with the following contents:
If you experience any problems, please contact me (roman) on github.
Requirements
- merb-core >= 1.0.9
- cucumber >= 0.2.0
- webrat >= 0.4.3 (Optional)
First Time
Include the gem in your dependencies. In your dependencies.rb file include:
dependency “roman-merb_cucumber”, :require_as => nilInside your merb project root, run
$ merb-gen cucumberFor Webrat support, run
$ merb-gen cucumber —session-type webratThis will also install a sample login feature that should pass if you’re using merb-auth.
Usage
To execute all the features run
$ rake featuresNotes
- If you are working with bundled Gems on your project, and having problems to make it through, check this post
- 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.







