Skip to content

Instantly share code, notes, and snippets.

@mathias
Created October 5, 2011 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathias/1263216 to your computer and use it in GitHub Desktop.
Save mathias/1263216 to your computer and use it in GitHub Desktop.
Feature: CRUD actions for program
As a user of the site, I can perform standard CRUD actions on programs
Background: I am logged into the site
Given I am a user with username "test" and password "password"
And I sign in as "test/password"
And I am on the programs index
Scenario: Create a new program
When I follow "New Program"
And I fill in the following:
|Title | Body |
| Hello world | puts "Hello world!" |
And I press "Submit"
Then I should see "Program posted!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment