Sha256: 7c23a338739911ca78c57cffc1c9edead82134d73ac6841f4b2cb73761189417
Contents?: true
Size: 1.39 KB
Versions: 3
Compression:
Stored size: 1.39 KB
Contents
Feature: change the current user's details As an logged in user I want to change my details Background: Given I am logged in as a user Scenario: Visit change my details When I am on the user change page Then I should see the view "users/change_form" Then the "Full Name" field should be required Then the "Full Name" field should be "login" "full_name" Then the "Login Name" field should be required Then the "Login Name" field should be "login" "login" Then the "Email" field should be required Then the "Email" field should be "login" "email" Then the "Time Zone" field should be required Then the "Time Zone" field should be "login" "time_zone" Then I should see the "Change Your Password" link to the user pswd change page Then I should see the "Cancel" link to the user details page Then I should see the "Update" button Scenario: I enter invalid details Given I am on the user change page Given I fill in "Full Name" with "" When I press "Update" Then I should see the view "users/change_form" Then the form error message should be "Unable to Change User Details" Then the "Full Name" field should be an error Scenario: I enter valid details Given I am on the user change page Given I fill in "Full Name" with "New Name" When I press "Update" Then I should see the view "users/details" Then the success message should be "User Details Changed" Then I should see "New Name"
Version data entries
3 entries across 3 versions & 1 rubygems