summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-01 08:50:59 +0000
committerPhil Hughes <me@iamphill.com>2017-08-01 08:50:59 +0000
commit423d31a300370c9c0acd9e8faae4d7bda2ac7d61 (patch)
tree733b732407f6f682edd875e3915af5e638cfce7d /spec/features
parent5000c4ff4a04007b09bacbc5b5889d1ae3de4e59 (diff)
downloadgitlab-ce-423d31a300370c9c0acd9e8faae4d7bda2ac7d61.tar.gz
Inline script cleanup globals and easy
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/commits_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb
index 15ec6f20763..0c9fcc60d30 100644
--- a/spec/features/commits_spec.rb
+++ b/spec/features/commits_spec.rb
@@ -282,7 +282,7 @@ describe 'Commits' do
end
# verified and the gpg user has a gitlab profile
- click_on 'Verified'
+ click_on 'Verified', match: :first
within '.popover' do
expect(page).to have_content 'This commit was signed with a verified signature.'
expect(page).to have_content 'Nannie Bernhard'
@@ -295,7 +295,7 @@ describe 'Commits' do
visit project_commits_path(project, :'signed-commits')
- click_on 'Verified'
+ click_on 'Verified', match: :first
within '.popover' do
expect(page).to have_content 'This commit was signed with a verified signature.'
expect(page).to have_content 'Nannie Bernhard'