diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-12-29 19:02:08 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-12-29 19:02:08 +0300 |
commit | 69ca159797980d933628e375e59be16bdfd9cd4c (patch) | |
tree | 5f2236434126f34632583e684b538f0786b0aa77 /spec/features | |
parent | 72e94991e5199a1230b55591e9e872a93f4fd975 (diff) |
Fix MR versions spec
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/merge_requests/merge_request_versions_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/merge_requests/merge_request_versions_spec.rb b/spec/features/merge_requests/merge_request_versions_spec.rb index 09451f41de4..cd2272dd38f 100644 --- a/spec/features/merge_requests/merge_request_versions_spec.rb +++ b/spec/features/merge_requests/merge_request_versions_spec.rb @@ -24,7 +24,7 @@ feature 'Merge Request versions', js: true, feature: true do before do page.within '.mr-version-dropdown' do find('.btn-default').click - click_link 'version 1' + find(:link, 'version 1').trigger('click') end end @@ -45,7 +45,7 @@ feature 'Merge Request versions', js: true, feature: true do before do page.within '.mr-version-compare-dropdown' do find('.btn-default').click - click_link 'version 1' + find(:link, 'version 1').trigger('click') end end |