summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpereira2 <rpereira@gitlab.com>2019-04-25 16:06:17 +0530
committerrpereira2 <rpereira@gitlab.com>2019-04-25 16:06:17 +0530
commite7e9929e0d9c7f208394ccb61239228216fe0be8 (patch)
tree37d832d7ae46f4f08da5eecead11fbebcdc25399
parent9f9bb16cdfb07fc975e1bcf50d900c50837836b3 (diff)
downloadgitlab-ce-57171-operations-controller-spec-refactor.tar.gz
Fix a bug in shared_examples definition57171-operations-controller-spec-refactor
-rw-r--r--spec/controllers/projects/settings/operations_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/settings/operations_controller_spec.rb b/spec/controllers/projects/settings/operations_controller_spec.rb
index 7df63266f71..0dd73972098 100644
--- a/spec/controllers/projects/settings/operations_controller_spec.rb
+++ b/spec/controllers/projects/settings/operations_controller_spec.rb
@@ -11,7 +11,7 @@ describe Projects::Settings::OperationsController do
project.add_maintainer(user)
end
- shared_context 'PATCHable' do
+ shared_examples 'PATCHable' do
let(:operations_update_service) { instance_double(::Projects::Operations::UpdateService) }
let(:operations_url) { project_settings_operations_url(project) }