Sha256: 0b646706d6fc1db8f15ba285d123f63b2ff31cc84a027ef40084c337772874cb

Contents?: true

Size: 1001 Bytes

Versions: 2

Compression:

Stored size: 1001 Bytes

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 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

2 entries across 2 versions & 1 rubygems

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