summaryrefslogtreecommitdiff
path: root/spec/services/test_hooks/system_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/test_hooks/system_service_spec.rb')
-rw-r--r--spec/services/test_hooks/system_service_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/test_hooks/system_service_spec.rb b/spec/services/test_hooks/system_service_spec.rb
index e500a1057ab..a13ae471b4b 100644
--- a/spec/services/test_hooks/system_service_spec.rb
+++ b/spec/services/test_hooks/system_service_spec.rb
@@ -7,6 +7,7 @@ RSpec.describe TestHooks::SystemService do
describe '#execute' do
let_it_be(:project) { create(:project, :repository) }
+
let(:hook) { create(:system_hook) }
let(:service) { described_class.new(hook, project.owner, trigger) }
let(:success_result) { { status: :success, http_status: 200, message: 'ok' } }