github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

foeken / webrat_story_steps

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 25
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (8)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A set of commonly used story steps that allow anyone to write rspec stories! — Read more

  cancel

http://www.movesonrails.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Add stuff for packing it into a gem 
dbussink (author)
Wed Oct 01 00:15:40 -0700 2008
commit  9e801e58b24313b6aced8206c817913cda0e3f73
tree    8870bbaff12fff23ce5593c16e1d9ab15defb170
parent  b9aab913575ef2ba8ac850ea8c04b4650ff97f3f
webrat_story_steps /
name age
history
message
file .gitignore Wed Oct 01 00:15:40 -0700 2008 Add stuff for packing it into a gem [dbussink]
file History.txt Wed Oct 01 00:15:40 -0700 2008 Add stuff for packing it into a gem [dbussink]
file Manifest.txt Wed Oct 01 00:15:40 -0700 2008 Add stuff for packing it into a gem [dbussink]
file README.txt Wed Oct 01 00:15:40 -0700 2008 Add stuff for packing it into a gem [dbussink]
file Rakefile Wed Oct 01 00:15:40 -0700 2008 Add stuff for packing it into a gem [dbussink]
file SELENIUM Wed Sep 24 03:04:21 -0700 2008 Added thanks to Notch8 and added use of 'seleni... [nedap]
directory generators/ Wed Sep 24 03:09:56 -0700 2008 Removed unneeded selenium generators [nedap]
file init.rb Tue Aug 19 03:37:37 -0700 2008 initial commit [nedap]
directory lib/ Wed Oct 01 00:15:40 -0700 2008 Add stuff for packing it into a gem [dbussink]
directory tasks/ Wed Sep 24 03:04:21 -0700 2008 Added thanks to Notch8 and added use of 'seleni... [nedap]
README.txt
= Webrat Story Steps collection

* http://www.movesonrails.com/articles/2008/08/19/webrat-story-steps

== DESCRIPTION:

Author:      Andre Foeken - Nedap
Article:     http://www.movesonrails.com/articles/2008/08/19/webrat-story-steps
Bug Tracker: http://nedaphealthcare.lighthouseapp.com/projects/15738/home

Selection of commonly used steps to speed up rspec story creation.

Install:

- Rspec
- Rspec On Rails
- Chronic

- This plugin
  CLONE @ git://github.com/foeken/webrat_story_steps.git

- Adapted Webrat plugin (http://github.com/foeken/webrat)
  CLONE @ git://github.com/foeken/webrat.git

Installation:

- Install my forked Webrat in your vendor/plugins directory
- Copy the webrat_story_steps directory to your vendor/plugins directory
- Run ./script/generate stories

- Start writing stories!

* Read the Wiki for all the possible steps
* Make sure that you read the stories/custom_steps/required_model_attributes.rb file to prevent any validation warnings!


Customizing:

You can add you own steps (that apply ONLY to your app) to the custom_steps directory that was generated. Just as you 
would have added normal Rspec steps. Please submit any general steps!

Note that these steps should mix with any steps you have already defined as long as the step group names differ.

Selenium:

Read the SELENIUM file for more info on how to drive selenium with these same steps! (No changes required to your 
stories)
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server