Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

leave out error

  • Loading branch information...
commit 37101d6782192e86690d448a257ed61aa324722c 1 parent 9917ded
David Chelimsky authored October 12, 2009
2  code/let/demo/before_example.rb
@@ -19,7 +19,7 @@ def withdraw(amount, currency)
19 19
     it "allows a withdrawal of 10 BLR" do
20 20
       account = Account.new(10, :BRL)
21 21
       expect { account.withdraw(10, :BLR) }.
22  
-        to_not raise_error(InsufficientFunds)
  22
+        to_not raise_error
23 23
     end
24 24
   end
25 25
 end
2  code/let/demo/let_example.rb
@@ -19,7 +19,7 @@ def withdraw(amount, currency)
19 19
     it "allows a withdrawal of 10 BLR" do
20 20
       account = Account.new(10, :BRL)
21 21
       expect { account.withdraw(10, :BLR) }.
22  
-        to_not raise_error(InsufficientFunds)
  22
+        to_not raise_error
23 23
     end
24 24
   end
25 25
 end
6  code/let/let_example.rb
@@ -19,7 +19,7 @@ def withdraw(amount, currency)
19 19
     it "allows a withdrawal of 10 BLR" do
20 20
       account = Account.new(10, :BRL)
21 21
       expect { account.withdraw(10, :BLR) }.
22  
-        to_not raise_error(InsufficientFunds)
  22
+        to_not raise_error
23 23
     end
24 24
   end
25 25
 end
@@ -34,7 +34,7 @@ def withdraw(amount, currency)
34 34
 # 
35 35
 #     it "allows a withdrawal of 10 BLR" do
36 36
 #       expect { @account.withdraw(10, :BLR) }.
37  
-#         to_not raise_error(InsufficientFunds)
  37
+#         to_not raise_error
38 38
 #     end
39 39
 #   end
40 40
 # end
@@ -49,7 +49,7 @@ def withdraw(amount, currency)
49 49
 # 
50 50
 #     it "allows a withdrawal of 10 BLR" do
51 51
 #       expect { account.withdraw(10, :BLR) }.
52  
-#         to_not raise_error(InsufficientFunds)
  52
+#         to_not raise_error
53 53
 #     end
54 54
 #   end
55 55
 # end

0 notes on commit 37101d6

Please sign in to comment.
Something went wrong with that request. Please try again.