diff options
author | rpereira2 <rpereira@gitlab.com> | 2019-04-25 16:06:17 +0530 |
---|---|---|
committer | rpereira2 <rpereira@gitlab.com> | 2019-04-25 16:06:17 +0530 |
commit | e7e9929e0d9c7f208394ccb61239228216fe0be8 (patch) | |
tree | 37d832d7ae46f4f08da5eecead11fbebcdc25399 /spec/controllers | |
parent | 9f9bb16cdfb07fc975e1bcf50d900c50837836b3 (diff) | |
download | gitlab-ce-e7e9929e0d9c7f208394ccb61239228216fe0be8.tar.gz |
Fix a bug in shared_examples definition57171-operations-controller-spec-refactor
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/settings/operations_controller_spec.rb | 2 |
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) } |