summaryrefslogtreecommitdiff
path: root/spec/features/projects/view_on_env_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/view_on_env_spec.rb')
-rw-r--r--spec/features/projects/view_on_env_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/projects/view_on_env_spec.rb b/spec/features/projects/view_on_env_spec.rb
index f6a640b90b4..0c06aa25c06 100644
--- a/spec/features/projects/view_on_env_spec.rb
+++ b/spec/features/projects/view_on_env_spec.rb
@@ -52,7 +52,7 @@ describe 'View on environment', js: true do
before do
gitlab_sign_in(user)
- visit diffs_namespace_project_merge_request_path(project.namespace, project, merge_request)
+ visit diffs_project_merge_request_path(project, merge_request)
wait_for_requests
end
@@ -68,7 +68,7 @@ describe 'View on environment', js: true do
before do
gitlab_sign_in(user)
- visit namespace_project_compare_path(project.namespace, project, from: 'master', to: branch_name)
+ visit project_compare_path(project, from: 'master', to: branch_name)
wait_for_requests
end
@@ -82,7 +82,7 @@ describe 'View on environment', js: true do
before do
gitlab_sign_in(user)
- visit namespace_project_compare_path(project.namespace, project, from: 'master', to: sha)
+ visit project_compare_path(project, from: 'master', to: sha)
wait_for_requests
end
@@ -96,7 +96,7 @@ describe 'View on environment', js: true do
before do
gitlab_sign_in(user)
- visit namespace_project_blob_path(project.namespace, project, File.join(branch_name, file_path))
+ visit project_blob_path(project, File.join(branch_name, file_path))
wait_for_requests
end
@@ -110,7 +110,7 @@ describe 'View on environment', js: true do
before do
gitlab_sign_in(user)
- visit namespace_project_blob_path(project.namespace, project, File.join(sha, file_path))
+ visit project_blob_path(project, File.join(sha, file_path))
wait_for_requests
end
@@ -124,7 +124,7 @@ describe 'View on environment', js: true do
before do
gitlab_sign_in(user)
- visit namespace_project_commit_path(project.namespace, project, sha)
+ visit project_commit_path(project, sha)
wait_for_requests
end