Refactored profile area

This commit is contained in:
Dmitriy Zaporozhets 2012-09-14 19:13:25 +03:00
parent 8f9a450eed
commit dc37c8aaae
15 changed files with 104 additions and 68 deletions

View file

@ -12,7 +12,7 @@ Feature: Profile
And I should see new contact info
Scenario: I change my password
Given I visit profile password page
Given I visit profile account page
Then I change my password
And I should be redirected to sign in page

View file

@ -21,8 +21,8 @@ module SharedPaths
visit profile_path
end
Given 'I visit profile password page' do
visit profile_password_path
Given 'I visit profile account page' do
visit profile_account_path
end
Given 'I visit profile token page' do