Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-10-06 01:16:03 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-10-06 01:16:03 +0300
commit1bd08177761a6599d2ebfdfb02bcadee574e9c44 (patch)
treebf9de3a653ed32976459969ceafb85c094dff760 /spec
parent5ad5d2f14e688733e177a18dc15e3e7645fcdc57 (diff)
parent7b8b2563c4d6b0090fd33fd50aad81561519f9cd (diff)
Merge branch 'ee-7126-admin-projects-geo-status' into 'master'
EE Backport: enable Geo Status widget in admin/projects See merge request gitlab-org/gitlab-ce!22161
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/admin/projects_controller_spec.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/controllers/admin/projects_controller_spec.rb b/spec/controllers/admin/projects_controller_spec.rb
index cc200b9fed9..ee1aff09bdf 100644
--- a/spec/controllers/admin/projects_controller_spec.rb
+++ b/spec/controllers/admin/projects_controller_spec.rb
@@ -42,4 +42,15 @@ describe Admin::ProjectsController do
expect { get :index }.not_to exceed_query_limit(control_count)
end
end
+
+ describe 'GET /projects/:id' do
+ render_views
+
+ it 'renders show page' do
+ get :show, namespace_id: project.namespace.path, id: project.path
+
+ expect(response).to have_gitlab_http_status(200)
+ expect(response.body).to match(project.name)
+ end
+ end
end