diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-10 11:02:41 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 16:43:37 +0300 |
commit | 4c5d4a69f0b5a813d2cb53e6f9af925cd3f9e8cb (patch) | |
tree | 12b8fde1fbca948f81fc536a38b1b3bdb1a0db26 /spec/features/commits_spec.rb | |
parent | 8ccce9d54541de5cbc8e5ce4a33fcefd402bdda4 (diff) |
improve spacing / alignments in gpg popup
Diffstat (limited to 'spec/features/commits_spec.rb')
-rw-r--r-- | spec/features/commits_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb index 709df6336fe..74eaafc9000 100644 --- a/spec/features/commits_spec.rb +++ b/spec/features/commits_spec.rb @@ -272,18 +272,18 @@ describe 'Commits' do sign_in(user) visit namespace_project_commits_path(project.namespace, project, :'signed-commits') + click_on 'Unverified', match: :first + within '.popover' do + expect(page).to have_content 'This commit was signed with an unverified signature.' + expect(page).to have_content "GPG Key ID: #{GpgHelpers::User2.primary_keyid}" + end + click_on 'Verified' within '.popover' do expect(page).to have_content 'This commit was signed with a verified signature.' expect(page).to have_content 'nannie.bernhard' expect(page).to have_content 'Nannie Bernhard' - expect(page).to have_content "GPG key ID: #{GpgHelpers::User1.primary_keyid}" - end - - click_on 'Unverified', match: :first - within '.popover' do - expect(page).to have_content 'This commit was signed with an unverified signature.' - expect(page).to have_content "GPG key ID: #{GpgHelpers::User2.primary_keyid}" + expect(page).to have_content "GPG Key ID: #{GpgHelpers::User1.primary_keyid}" end end end |