From e05f1ece917c5176f27142d106b623931d1b0c6c Mon Sep 17 00:00:00 2001 From: Phil Hughes <me@iamphill.com> Date: Tue, 1 Mar 2016 15:05:57 +0000 Subject: [PATCH] Fixed failing profile tests --- features/steps/profile/profile.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index 7895f643d0c..a60db1cb534 100644 --- a/features/steps/profile/profile.rb +++ b/features/steps/profile/profile.rb @@ -13,7 +13,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps fill_in 'user_website_url', with: 'testurl' fill_in 'user_location', with: 'Ukraine' fill_in 'user_bio', with: 'I <3 GitLab' - click_button 'Save changes' + click_button 'Update profile settings' @user.reload end @@ -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_size', visible: false).set('256') - click_button "Save changes" + click_button "Update profile settings" @user.reload end -- GitLab