Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-07-20 17:18:02 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:46:03 +0300
commit786b5a5991930bb838767a4ed6eed2a67e517e82 (patch)
treecce17510e2c1353c896dc1a96474c1683d8c86b3 /spec/features/commits_spec.rb
parent895efdfbcfe6082709943767dc8b3ebf399e1283 (diff)
use short project path helpers
Diffstat (limited to 'spec/features/commits_spec.rb')
-rw-r--r--spec/features/commits_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb
index 9bd4b478cce..729d83968d3 100644
--- a/spec/features/commits_spec.rb
+++ b/spec/features/commits_spec.rb
@@ -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