diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-04-18 13:44:30 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-04-23 03:31:23 +0300 |
commit | 0e2aaeb83b44878d287f23a9639da4bddb8f4e63 (patch) | |
tree | 5b551b73655f2ce59b2034f47307a3e8e0984e33 /spec/services | |
parent | 256699519a2b56c332303c0d21cd8ff8f7ef47d7 (diff) |
Fix project auto dev ops failure
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/projects/update_service_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/services/projects/update_service_spec.rb b/spec/services/projects/update_service_spec.rb index c37147e7d3b..5ad30b58511 100644 --- a/spec/services/projects/update_service_spec.rb +++ b/spec/services/projects/update_service_spec.rb @@ -440,6 +440,8 @@ describe Projects::UpdateService do context 'when auto devops is set to instance setting' do before do project.create_auto_devops!(enabled: nil) + project.reload + allow(project.auto_devops).to receive(:previous_changes).and_return('enabled' => true) end |