summaryrefslogtreecommitdiff
path: root/spec/services/groups/auto_devops_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/groups/auto_devops_service_spec.rb')
-rw-r--r--spec/services/groups/auto_devops_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/groups/auto_devops_service_spec.rb b/spec/services/groups/auto_devops_service_spec.rb
index 7591b2f6f12..63fbdc70c1b 100644
--- a/spec/services/groups/auto_devops_service_spec.rb
+++ b/spec/services/groups/auto_devops_service_spec.rb
@@ -2,8 +2,8 @@
require 'spec_helper'
describe Groups::AutoDevopsService, '#execute' do
- set(:group) { create(:group) }
- set(:user) { create(:user) }
+ let_it_be(:group) { create(:group) }
+ let_it_be(:user) { create(:user) }
let(:group_params) { { auto_devops_enabled: '0' } }
let(:service) { described_class.new(group, user, group_params) }