Skip to content
This repository
Browse code

Ensure that FakeBraintree.transactions is exposed.

  • Loading branch information...
commit 8dde09c6a78ec4cab020ae9b095d454d4643d217 1 parent 0934f1e
Gabe Berke-Williams authored December 16, 2011

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  spec/fake_braintree_spec.rb
8  spec/fake_braintree_spec.rb
@@ -20,6 +20,12 @@
20 20
   let(:token_2)           { braintree_credit_card_token(cc_number_2, expiration_date_2) }
21 21
 end
22 22
 
  23
+describe FakeBraintree, ".transactions" do
  24
+  it "is exposed" do
  25
+    FakeBraintree.transactions.should == {}
  26
+  end
  27
+end
  28
+
23 29
 describe FakeBraintree, ".decline_all_cards!" do
24 30
   before { FakeBraintree.decline_all_cards! }
25 31
 
@@ -46,7 +52,7 @@ def create_sale
46 52
 describe Braintree::Configuration do
47 53
   subject { Braintree::Configuration }
48 54
 
49  
-  it "sets the environment to development" do
  55
+  it "sets the environment to :development" do
50 56
     subject.environment.should == :development
51 57
   end
52 58
 

0 notes on commit 8dde09c

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