Commit 1e3ff09c authored by Lin Jen-Shin's avatar Lin Jen-Shin

Avoid ambiguous syntax

parent 20037e61
...@@ -674,7 +674,7 @@ describe Ci::Build, models: true do ...@@ -674,7 +674,7 @@ describe Ci::Build, models: true do
before { build.run! } before { build.run! }
it 'returns false' do it 'returns false' do
expect(build.retryable?).to be false expect(build.retryable?).to be(false)
end end
end end
...@@ -682,7 +682,7 @@ describe Ci::Build, models: true do ...@@ -682,7 +682,7 @@ describe Ci::Build, models: true do
before { build.success! } before { build.success! }
it 'returns true' do it 'returns true' do
expect(build.retryable?).to be true expect(build.retryable?).to be(true)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment