diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index 04f50f01fac2d75882920bc83ceda46be8fed2bf..d16e6bbea57c53a10c8dd43f9098e1c22cea7830 100644 --- a/features/steps/profile/profile.rb +++ b/features/steps/profile/profile.rb @@ -168,7 +168,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps end step 'I click on my profile picture' do - click_link 'sidebar-user' + find(:css, '.sidebar-user').click end step 'I should see my user page' do