spec/utils_spec.rb in banktools-se-2.5.0 vs spec/utils_spec.rb in banktools-se-2.6.0

- old
+ new

@@ -17,20 +17,20 @@ "109", "117", "5402-9681", ].each do |number| it "should allow a valid number like #{number}" do - BankTools::SE::Utils.valid_luhn?(number).should eq(true) + expect(BankTools::SE::Utils.valid_luhn?(number)).to eq(true) end end [ "01", "118", "5402-9682", ].each do |number| it "should disallow an invalid number like #{number}" do - BankTools::SE::Utils.valid_luhn?(number).should eq(false) + expect(BankTools::SE::Utils.valid_luhn?(number)).to eq(false) end end end