summaryrefslogtreecommitdiff
path: root/spec/services/web_hook_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/web_hook_service_spec.rb')
-rw-r--r--spec/services/web_hook_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/web_hook_service_spec.rb b/spec/services/web_hook_service_spec.rb
index fae6d5a..93f5b4f 100644
--- a/spec/services/web_hook_service_spec.rb
+++ b/spec/services/web_hook_service_spec.rb
@@ -9,13 +9,13 @@ describe WebHookService do
describe '#execute' do
it "should execute successfully" do
stub_request(:post, hook.url).to_return(status: 200)
- described_class.new.build_end(build).should be_truthy
+ expect(described_class.new.build_end(build)).to be_truthy
end
end
context 'build_data' do
it "contains all needed fields" do
- build_data(build).should include(
+ expect(build_data(build)).to include(
:build_id,
:project_id,
:ref,