Sha256: 234c187f8ff24675b0af0a2763c530e20169126c11f3c02ef90889f77ae88a37

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

Feature: Sign up
  In order to get access to protected sections of the site
  A user
  Should be able to sign up

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

  Scenario: User sees signup terms
    When I go to the plans index
    Then I should see "Free"
    And I should see "Upgrade or Downgrade Anytime"
    And I there should be a link to the help site

  Scenario: User signs up with invalid data
    When I go to the sign up page for the "Free" plan
    Then I should see "Free"
    And I fill in "Email" with "invalidemail"
    And I fill in "Password" with "password"
    And I fill in "Confirm password" with ""
    And I should not see "Billing Information"
    And I press "Sign up"
    Then I should see error messages

  Scenario: User signs up with valid data
    When I go to the list of plans page
    And I follow "Free"
    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 "robotsinc"
    And I press "Sign up"
    Then I should see "created"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saucy-0.2.2 lib/generators/saucy/features/templates/features/sign_up.feature