spec/bankgiro_spec.rb in banktools-se-0.2.0 vs spec/bankgiro_spec.rb in banktools-se-0.3.0
- old
+ new
@@ -9,16 +9,16 @@
describe "#valid?" do
it "should be true with no errors" do
account = BankTools::SE::Bankgiro.new("foo")
- account.stub!(:errors).and_return([])
+ account.stub(:errors).and_return([])
account.should be_valid
end
it "should be false with errors" do
account = BankTools::SE::Bankgiro.new("foo")
- account.stub!(:errors).and_return([:error])
+ account.stub(:errors).and_return([:error])
account.should_not be_valid
end
end