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

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