Permalink
Browse files

leave out error

  • Loading branch information...
1 parent 9917ded commit 37101d6782192e86690d448a257ed61aa324722c @dchelimsky committed Oct 13, 2009
Showing with 5 additions and 5 deletions.
  1. +1 −1 code/let/demo/before_example.rb
  2. +1 −1 code/let/demo/let_example.rb
  3. +3 −3 code/let/let_example.rb
@@ -19,7 +19,7 @@ def withdraw(amount, currency)
it "allows a withdrawal of 10 BLR" do
account = Account.new(10, :BRL)
expect { account.withdraw(10, :BLR) }.
- to_not raise_error(InsufficientFunds)
+ to_not raise_error
end
end
end
@@ -19,7 +19,7 @@ def withdraw(amount, currency)
it "allows a withdrawal of 10 BLR" do
account = Account.new(10, :BRL)
expect { account.withdraw(10, :BLR) }.
- to_not raise_error(InsufficientFunds)
+ to_not raise_error
end
end
end
View
@@ -19,7 +19,7 @@ def withdraw(amount, currency)
it "allows a withdrawal of 10 BLR" do
account = Account.new(10, :BRL)
expect { account.withdraw(10, :BLR) }.
- to_not raise_error(InsufficientFunds)
+ to_not raise_error
end
end
end
@@ -34,7 +34,7 @@ def withdraw(amount, currency)
#
# it "allows a withdrawal of 10 BLR" do
# expect { @account.withdraw(10, :BLR) }.
-# to_not raise_error(InsufficientFunds)
+# to_not raise_error
# end
# end
# end
@@ -49,7 +49,7 @@ def withdraw(amount, currency)
#
# it "allows a withdrawal of 10 BLR" do
# expect { account.withdraw(10, :BLR) }.
-# to_not raise_error(InsufficientFunds)
+# to_not raise_error
# end
# end
# end

0 comments on commit 37101d6

Please sign in to comment.