summaryrefslogtreecommitdiff
path: root/spec/features/projects/settings/visibility_settings_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/settings/visibility_settings_spec.rb')
-rw-r--r--spec/features/projects/settings/visibility_settings_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/settings/visibility_settings_spec.rb b/spec/features/projects/settings/visibility_settings_spec.rb
index 28380a82e7d..32d8f1fd16a 100644
--- a/spec/features/projects/settings/visibility_settings_spec.rb
+++ b/spec/features/projects/settings/visibility_settings_spec.rb
@@ -7,7 +7,7 @@ feature 'Visibility settings', feature: true, js: true do
context 'as owner' do
before do
sign_in(user)
- visit edit_namespace_project_path(project.namespace, project)
+ visit edit_project_path(project)
end
scenario 'project visibility select is available' do
@@ -33,7 +33,7 @@ feature 'Visibility settings', feature: true, js: true do
before do
project.team << [master_user, :master]
sign_in(master_user)
- visit edit_namespace_project_path(project.namespace, project)
+ visit edit_project_path(project)
end
scenario 'project visibility is locked' do