spec/sprocket_spec.rb in lev-2.1.0 vs spec/sprocket_spec.rb in lev-2.1.1
- old
+ new
@@ -2,10 +2,10 @@
describe Sprocket do
it "should not be valid with bad inputs" do
sprocket = Sprocket.new(integer_gt_2: 1, text_only_letters: 'abcd4')
- expect(sprocket.valid?).to be_false
+ expect(sprocket.valid?).to eq(false)
expect(sprocket.errors.count).to eq 2
end
end
\ No newline at end of file