Skip to content

Instantly share code, notes, and snippets.

@mgreenly
Created November 16, 2011 04:04
Show Gist options
  • Save mgreenly/1369207 to your computer and use it in GitHub Desktop.
Save mgreenly/1369207 to your computer and use it in GitHub Desktop.
Cucumber/RSpec onion layer 1
Feature: dealer creates warranty claim
Background:
Given I am a dealer
Scenario: Dealer fails to create a warranty claim
Given I'm on the "new warranty claim" page
When I submit invalid warranty claim details
Then I should see an error
Scenario: Dealer sucessfully creates a warranty claim
Given I'm on the "new warranty claim" page
When I submit valid warranty claim details
Then I should not see any errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment