Sha256: 7cedd03b8c965882d5cc1d557f6cd9d0216b99bdfaa34010dbbad5e9748d2b40

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 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 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 "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"
    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"
    When I go to the settings page
    And I follow "Machines"
    Then the "Keyword" field should contain "machines"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saucy-0.1.12 lib/generators/saucy/features/templates/features/new_account.feature