summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-07 01:13:49 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-07 01:13:49 +0900
commit6c012c3b4c9a8b9a89c14403fc7f415c81b90722 (patch)
tree50a9427c4ad5fdeae92af06e0b25c4c72588cdd1
parent608cd406076dadc641815dca0fb917317fa80b39 (diff)
downloadgitlab-ce-6c012c3b4c9a8b9a89c14403fc7f415c81b90722.tar.gz
Fix spec
-rw-r--r--spec/services/ci/retry_build_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
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