diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-07-07 18:25:05 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-07-07 18:25:05 -0400 |
commit | bf2a86b73cce332ff8f4392ffc8df501193f32ec (patch) | |
tree | c8284a396e4dc87137f333c647dc641ad887ee29 /spec/controllers | |
parent | 39fbec941939f76ec08a25f537cc3f4a308e21f5 (diff) | |
download | gitlab-ce-bf2a86b73cce332ff8f4392ffc8df501193f32ec.tar.gz |
Revert "Merge branch 'issue_3946' into 'master'
"
This reverts commit 68155ee73b549a4f79744bb325542c29d45c71ea, reversing
changes made to 7ebd011ed1de7aee706f07a53c63c90f1c8aa5d4.
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/admin/projects_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/admin/projects_controller_spec.rb b/spec/controllers/admin/projects_controller_spec.rb index 8eaacef2024..4cb8b8da150 100644 --- a/spec/controllers/admin/projects_controller_spec.rb +++ b/spec/controllers/admin/projects_controller_spec.rb @@ -11,12 +11,12 @@ describe Admin::ProjectsController do render_views it 'retrieves the project for the given visibility level' do - get :index, visibility_level: [Gitlab::VisibilityLevel::PUBLIC] + get :index, visibility_levels: [Gitlab::VisibilityLevel::PUBLIC] expect(response.body).to match(project.name) end it 'does not retrieve the project' do - get :index, visibility_level: [Gitlab::VisibilityLevel::INTERNAL] + get :index, visibility_levels: [Gitlab::VisibilityLevel::INTERNAL] expect(response.body).not_to match(project.name) end end |