diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-05-27 01:55:49 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-07-07 21:25:58 +0300 |
commit | 338072cc4ba66cd7eb6fbd9541862946e4ae4b75 (patch) | |
tree | 41b4782724653a42328f155edc5cf57b6d227f16 /spec/controllers | |
parent | 86d83a3a85dfc252ee5efb8cc630e1a4295adb93 (diff) |
Layout for Users Groups and Projects on admin area
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 4cb8b8da150..8eaacef2024 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_levels: [Gitlab::VisibilityLevel::PUBLIC] + get :index, visibility_level: [Gitlab::VisibilityLevel::PUBLIC] expect(response.body).to match(project.name) end it 'does not retrieve the project' do - get :index, visibility_levels: [Gitlab::VisibilityLevel::INTERNAL] + get :index, visibility_level: [Gitlab::VisibilityLevel::INTERNAL] expect(response.body).not_to match(project.name) end end |