Commit e7e9929e authored by rpereira2's avatar rpereira2

Fix a bug in shared_examples definition

parent 9f9bb16c
...@@ -11,7 +11,7 @@ describe Projects::Settings::OperationsController do ...@@ -11,7 +11,7 @@ describe Projects::Settings::OperationsController do
project.add_maintainer(user) project.add_maintainer(user)
end end
shared_context 'PATCHable' do shared_examples 'PATCHable' do
let(:operations_update_service) { instance_double(::Projects::Operations::UpdateService) } let(:operations_update_service) { instance_double(::Projects::Operations::UpdateService) }
let(:operations_url) { project_settings_operations_url(project) } let(:operations_url) { project_settings_operations_url(project) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment