Sha256: 468ab412952393fcdfcbd14ce4e37df1ce30bfbb1b3cc2a0f6156a37876b6e5d

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 KB

Contents

Feature: user adds a new account

  Background:
    Given a plan exists with a name of "Free"

  Scenario: existing user adds an account
    Given I am signed up and confirmed as "user@example.com/test"
    When I go to the sign up page for the "Free" plan
    And I fill in "Email" with "user@example.com"
    And I fill in "Password" with "test"
    And I fill in "Company Name" with "Robots"
    And I fill in "Account URL" with "robots"
    And I press "Sign up"
    Then I should see "created"
    But I should not see "Instructions for confirming"
    When I go to the settings page
    And I follow "Robots"
    Then the "Url" field should contain "robots"

  Scenario: sign up for two accounts
    When I go to the sign up page for the "Free" plan
    And I fill in "Email" with "email@person.com"
    And I fill in "Password" with "password"
    And I fill in "Confirm password" with "password"
    And I fill in "Your name" with "Robot"
    And I fill in "Company Name" with "Robots, Inc"
    And I fill in "Account URL" with "robots"
    And I press "Sign up"
    Then I should see "created"
    And I should see "Instructions for confirming"
    When I follow the confirmation link sent to "email@person.com"
    And I go to the settings page
    And I follow "Robots, Inc"
    Then the "Url" field should contain "robots"
    When I go to the settings page
    And I follow "Add new account"
    And I follow "Free"
    And I fill in "Company Name" with "Machines"
    And I fill in "Account URL" with "machines"
    And I press "Sign up"
    Then I should see "created"
    But I should not see "Instructions for confirming"
    When I go to the settings page
    And I follow "Machines"
    Then the "Url" field should contain "machines"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
saucy-0.1.9 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.1.8 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.1.7 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.1.6 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.1.5 lib/generators/saucy/features/templates/features/new_account.feature