Sha256: 7c4e8f110a620451cf000fc6ce9b0e8dfe24de53321a460fcfb255fccb332355

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

Feature: Account
  In order to edit my account
  As a user of different roles
  I want to be able to navigate to my account page

  Scenario: Admin user account editing
    Given I have an admin account of "admin@person.com/password"
    And I go to the sign in page
    When I sign in as "admin@person.com/password"
    And I follow "My Account"
    Then I should see "admin@person.com"

  Scenario: New user account editing
    When I go to the sign up page
    And I fill in "Email" with "email@person.com"
    And I fill in "Password" with "password"
    And I fill in "Password Confirmation" with "password"
    And I press "Create"
    When I follow "My Account"
    Then I should see "email@person.com"

  Scenario: existing user account editing
    Given the following user exists:
      | email            | password | password_confirmation |
      | email@person.com | secret   | secret                |
    And I go to the sign in page
    When I sign in as "email@person.com/secret"
    And I follow "My Account"
    Then I should see "email@person.com"








Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
MyCommerceapi-1.0.0 auth/features/account.feature
MyCommerce-0.0.3 auth/features/account.feature