RSpec extension to run Gherkin steps
Documentation
Example
require 'spec_helper'
Feature "The Simplest Feature" do
shared_steps "home" do
Given "I am on the home page" do
visit "/"
end
end
Scenario "The Simplest Scenario" do
include_steps "home"
When "something happens" do
end
Then "it should assert correctly" do
true.should be_true
end
end
end
Author
Heavily inspired by http://coulda.tiggerpalace.com/ & Railsware rspec-example_steps
License: MIT