Skip to content
Snippets Groups Projects
Commit 338072cc authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Layout for Users Groups and Projects on admin area

parent 86d83a3a
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