diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-08 19:20:00 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-08 19:20:00 +0300 |
commit | 5b4ab5a0cac99e7dabad400d9c9ff3ac383e25c4 (patch) | |
tree | cf67d1e71b676523aef8192da4e6cff20eb7c0f6 /features/steps/profile | |
parent | 8ee57adc8af63721e96d48477bcb56150d3ff137 (diff) |
Properly click on user profile picture
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/profile')
-rw-r--r-- | features/steps/profile/profile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index 04f50f01fac..d16e6bbea57 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 |