Skip to content

Instantly share code, notes, and snippets.

Created July 17, 2010 13:44
Show Gist options
  • Save anonymous/479513 to your computer and use it in GitHub Desktop.
Save anonymous/479513 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Jul 17, 2010.
    18 changes: 18 additions & 0 deletions snippet.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    Feature: Admin signing in
    In order to modify content
    As an admin
    I want admin login

    Scenario: Signing in as an admin
    Given there is an admin with the username "[email protected]" and the password "secret"
    When I go to the admin path
    And I fill in "Login" with "[email protected]"
    And I fill in "Password" with "secret"
    And I press "Sign in"
    Then I should see "Welcome admin: [email protected]"