Browse files

return self from fluent methods

  • Loading branch information...
1 parent 53d3d53 commit 375cbd5d84102728dc012dab567dcc0bb3cdb895 @dchelimsky committed Oct 10, 2009
Showing with 1 addition and 1 deletion.
  1. BIN RSpecTipsAndTricks.key
  2. +1 −1 code/matchers/default_messages.rb
View
BIN RSpecTipsAndTricks.key
Binary file not shown.
View
2 code/matchers/default_messages.rb
@@ -13,7 +13,7 @@
account.should have_a_balance_of(Money.new(0, :BLR))
end
- it "does not have a non- balance" do
+ it "does not have zero balance" do
account = Account.new
account.should_not have_a_balance_of(Money.new(10, :BLR))
end

0 comments on commit 375cbd5

Please sign in to comment.