Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
786b5a59
Commit
786b5a59
authored
Jul 20, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use short project path helpers
parent
895efdfb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
spec/features/commits_spec.rb
spec/features/commits_spec.rb
+6
-6
No files found.
spec/features/commits_spec.rb
View file @
786b5a59
...
...
@@ -215,7 +215,7 @@ describe 'Commits' do
sign_in
(
user
)
visit
namespace_project_commits_path
(
project
.
namespace
,
project
,
:'signed-commits'
)
visit
project_commits_path
(
project
,
:'signed-commits'
)
within
'#commits-list'
do
expect
(
page
).
to
have_content
'Unverified'
...
...
@@ -228,7 +228,7 @@ describe 'Commits' do
user
.
update_attributes!
(
email:
GpgHelpers
::
User1
.
emails
.
first
)
end
visit
namespace_project_commits_path
(
project
.
namespace
,
project
,
:'signed-commits'
)
visit
project_commits_path
(
project
,
:'signed-commits'
)
within
'#commits-list'
do
expect
(
page
).
to
have_content
'Unverified'
...
...
@@ -242,7 +242,7 @@ describe 'Commits' do
sign_in
(
user
)
visit
namespace_project_commits_path
(
project
.
namespace
,
project
,
:'signed-commits'
)
visit
project_commits_path
(
project
,
:'signed-commits'
)
within
'#commits-list'
do
expect
(
page
).
to
have_content
'Unverified'
...
...
@@ -254,7 +254,7 @@ describe 'Commits' do
create
:gpg_key
,
key:
GpgHelpers
::
User1
.
public_key
,
user:
user
end
visit
namespace_project_commits_path
(
project
.
namespace
,
project
,
:'signed-commits'
)
visit
project_commits_path
(
project
,
:'signed-commits'
)
within
'#commits-list'
do
expect
(
page
).
to
have_content
'Unverified'
...
...
@@ -272,7 +272,7 @@ describe 'Commits' do
project
.
team
<<
[
user
,
:master
]
sign_in
(
user
)
visit
namespace_project_commits_path
(
project
.
namespace
,
project
,
:'signed-commits'
)
visit
project_commits_path
(
project
,
:'signed-commits'
)
# unverified signature
click_on
'Unverified'
,
match: :first
...
...
@@ -293,7 +293,7 @@ describe 'Commits' do
# verified and the gpg user's profile doesn't exist anymore
gpg_user
.
destroy!
visit
namespace_project_commits_path
(
project
.
namespace
,
project
,
:'signed-commits'
)
visit
project_commits_path
(
project
,
:'signed-commits'
)
click_on
'Verified'
within
'.popover'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment