Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/ci/web_hook_service_spec.rb')
-rw-r--r--spec/services/ci/web_hook_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/ci/web_hook_service_spec.rb b/spec/services/ci/web_hook_service_spec.rb
index d2f08959cb1..b893b1f23f2 100644
--- a/spec/services/ci/web_hook_service_spec.rb
+++ b/spec/services/ci/web_hook_service_spec.rb
@@ -9,13 +9,13 @@ describe Ci::WebHookService do
describe :execute do
it "should execute successfully" do
stub_request(:post, hook.url).to_return(status: 200)
- WebHookService.new.build_end(build).should be_true
+ expect(WebHookService.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,