summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorSarah Yasonik <syasonik@gitlab.com>2019-07-29 23:03:59 +0000
committerThong Kuah <tkuah@gitlab.com>2019-07-29 23:03:59 +0000
commitdfe13131d705c739a3b8747e70c004aaf2e58856 (patch)
treecbaf47bcedf0d518af7c6bf5cafbb59dbade78d7 /spec/controllers
parent95838fe44dfc5aa48428b09b4288ac1e1d637f94 (diff)
downloadgitlab-ce-dfe13131d705c739a3b8747e70c004aaf2e58856.tar.gz
Move BaseService to Services directory
In preparation for embedding specific metrics in issues https://gitlab.com/gitlab-org/gitlab-ce/issues/62971, this commit moves the BaseService for metrics dashboards to a new services subdirectory. This is purely for the sake of organization and maintainability.
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/environments_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/environments_controller_spec.rb b/spec/controllers/projects/environments_controller_spec.rb
index ebbbebf1bc0..8872e8d38e7 100644
--- a/spec/controllers/projects/environments_controller_spec.rb
+++ b/spec/controllers/projects/environments_controller_spec.rb
@@ -551,7 +551,7 @@ describe Projects::EnvironmentsController do
end
context 'when the specified dashboard is the default dashboard' do
- let(:dashboard_path) { Gitlab::Metrics::Dashboard::SystemDashboardService::SYSTEM_DASHBOARD_PATH }
+ let(:dashboard_path) { ::Metrics::Dashboard::SystemDashboardService::SYSTEM_DASHBOARD_PATH }
it_behaves_like 'the default dashboard'
end