From 6c012c3b4c9a8b9a89c14403fc7f415c81b90722 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Thu, 7 Sep 2017 01:13:49 +0900 Subject: Fix spec --- spec/services/ci/retry_build_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/ci/retry_build_service_spec.rb b/spec/services/ci/retry_build_service_spec.rb index f0eb700d342..bbc3a8c79f5 100644 --- a/spec/services/ci/retry_build_service_spec.rb +++ b/spec/services/ci/retry_build_service_spec.rb @@ -59,7 +59,7 @@ describe Ci::RetryBuildService do end it "clones protected build attribute" do - expect(new_build.protected).not_to be_nil + expect(new_build.protected).to be_nil expect(new_build.protected).to eq build.protected end end -- cgit v1.2.1