Use `be` before operators

MSP-13484
bug/bundler_fix
Luke Imhoff 2015-10-21 09:51:23 -05:00 committed by Brent Cook
parent 4f23b83fa3
commit f48f8c1540
1 changed files with 2 additions and 2 deletions

View File

@ -17,13 +17,13 @@ RSpec.describe Rex::RandomIdentifierGenerator do
describe "#generate" do
it "should respect :min_length" do
1000.times do
expect(rig.generate.length).to >= options[:min_length]
expect(rig.generate.length).to be >= options[:min_length]
end
end
it "should respect :max_length" do
1000.times do
expect(rig.generate.length).to <= options[:max_length]
expect(rig.generate.length).to be <= options[:max_length]
end
end