Properly click on user profile picture

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-06-08 18:20:00 +02:00
parent 8ee57adc8a
commit 5b4ab5a0ca
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 1 additions and 1 deletions

View File

@ -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