Created
October 5, 2011 00:06
-
-
Save mathias/1263216 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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