From d495e4dff6aa62a2636b2a271e1c586dbdbdfee7 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Tue, 15 Sep 2015 21:31:29 +0200 Subject: [PATCH] Fix: models/ci/build_spec.rb --- spec/models/ci/build_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index dacdf38a87..ce80115204 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -175,7 +175,7 @@ describe Ci::Build do before { build.trace = text } it { is_expected.to include(text) } - it { is_expected.to have_at_least(text.length).items } + it { expect(subject.length).to be >= text.length } end end