Commit e05f1ece authored by Phil Hughes's avatar Phil Hughes

Fixed failing profile tests

parent 834eea08
...@@ -13,7 +13,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps ...@@ -13,7 +13,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
fill_in 'user_website_url', with: 'testurl' fill_in 'user_website_url', with: 'testurl'
fill_in 'user_location', with: 'Ukraine' fill_in 'user_location', with: 'Ukraine'
fill_in 'user_bio', with: 'I <3 GitLab' fill_in 'user_bio', with: 'I <3 GitLab'
click_button 'Save changes' click_button 'Update profile settings'
@user.reload @user.reload
end end
...@@ -237,7 +237,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps ...@@ -237,7 +237,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
page.find('#user_avatar_crop_y', visible: false).set('0') page.find('#user_avatar_crop_y', visible: false).set('0')
page.find('#user_avatar_crop_size', visible: false).set('256') page.find('#user_avatar_crop_size', visible: false).set('256')
click_button "Save changes" click_button "Update profile settings"
@user.reload @user.reload
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment