Sha256: 1b099496b20d1a9bda380469f5b6b8229d5df83e49a5be9f88d5bde54b4b71d9

Contents?: true

Size: 1.86 KB

Versions: 5

Compression:

Stored size: 1.86 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 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 "Keyword" with "robots"
    And I should see "http://www.example.com/accounts/keyword"
    And I press "Sign up"
    Then I should see "created"
    But I should not see "Instructions for confirming"
    And I should be on the new project page for the "Robots" account
    When I go to the settings page
    And I follow "Robots"
    Then the "Keyword" 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 "Keyword" with "robots"
    And I press "Sign up"
    Then I should see "created"
    And I should be on the new project page for the "Robots, Inc" account
    When I go to the settings page
    And I follow "Robots, Inc"
    Then the "Keyword" 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 "Keyword" with "machines"
    And I press "Sign up"
    Then I should see "created"
    But I should not see "Instructions for confirming"
    And I should be on the new project page for the "Machines" account
    When I go to the settings page
    And I follow "Machines"
    Then the "Keyword" field should contain "machines"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
saucy-0.5.1 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.5.0 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.4.10 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.4.9 lib/generators/saucy/features/templates/features/new_account.feature
saucy-0.4.8 lib/generators/saucy/features/templates/features/new_account.feature