Refactored profile to resource. Added missing flash notice on successfull updated. Update username via ajax

This commit is contained in:
Dmitriy Zaporozhets 2012-12-02 13:29:24 +02:00
parent 2be5e6d443
commit 46bf3a0949
14 changed files with 95 additions and 56 deletions

View file

@ -54,7 +54,7 @@ module SharedPaths
end
Given 'I visit profile account page' do
visit profile_account_path
visit account_profile_path
end
Given 'I visit profile SSH keys page' do
@ -62,15 +62,11 @@ module SharedPaths
end
Given 'I visit profile design page' do
visit profile_design_path
visit design_profile_path
end
Given 'I visit profile history page' do
visit profile_history_path
end
Given 'I visit profile token page' do
visit profile_token_path
visit history_profile_path
end
# ----------------------------------------