Skip to content
Snippets Groups Projects
Commit 68155ee7 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'issue_3946' into 'master'

Improve UI consistency for admin area

Closes #3946

See merge request !4424
parents 7ebd011e 140b0952
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment