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
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2016-05-11 02:19:16 +0300
committerDJ Mountney <david@twkie.net>2016-05-11 02:19:16 +0300
commit0e0caf4d17c28b6b0f3488b25efa265ce2804cc4 (patch)
tree13d7c57892acf74c88b41fbac0188383169f20dd /spec/routing/admin_routing_spec.rb
parent160ef66d1bbbbc593516c7575d6b02ddb019c000 (diff)
Add tests for the health check feature
Diffstat (limited to 'spec/routing/admin_routing_spec.rb')
-rw-r--r--spec/routing/admin_routing_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/routing/admin_routing_spec.rb b/spec/routing/admin_routing_spec.rb
index cd16a8e6322..b5ed8584c8a 100644
--- a/spec/routing/admin_routing_spec.rb
+++ b/spec/routing/admin_routing_spec.rb
@@ -118,3 +118,10 @@ describe Admin::DashboardController, "routing" do
expect(get("/admin")).to route_to('admin/dashboard#index')
end
end
+
+# admin_health_check GET /admin/health_check(.:format) admin/health_check#show
+describe Admin::HealthCheckController, "routing" do
+ it "to #show" do
+ expect(get("/admin/health_check")).to route_to('admin/health_check#show')
+ end
+end