summaryrefslogtreecommitdiff
path: root/spec/services/test_hook_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/test_hook_service_spec.rb')
-rw-r--r--spec/services/test_hook_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/test_hook_service_spec.rb b/spec/services/test_hook_service_spec.rb
index f034f251ba4..4f6dd8c6d3f 100644
--- a/spec/services/test_hook_service_spec.rb
+++ b/spec/services/test_hook_service_spec.rb
@@ -5,8 +5,8 @@ describe TestHookService, services: true do
let(:project) { create :project }
let(:hook) { create :project_hook, project: project }
- describe :execute do
- it "should execute successfully" do
+ describe '#execute' do
+ it "executes successfully" do
stub_request(:post, hook.url).to_return(status: 200)
expect(TestHookService.new.execute(hook, user)).to be_truthy
end