Permalink
Browse files

Ensure that FakeBraintree.transactions is exposed.

1 parent 0934f1e commit 8dde09c6a78ec4cab020ae9b095d454d4643d217 @gabebw gabebw committed Dec 16, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 spec/fake_braintree_spec.rb
@@ -20,6 +20,12 @@
let(:token_2) { braintree_credit_card_token(cc_number_2, expiration_date_2) }
end
+describe FakeBraintree, ".transactions" do
+ it "is exposed" do
+ FakeBraintree.transactions.should == {}
+ end
+end
+
describe FakeBraintree, ".decline_all_cards!" do
before { FakeBraintree.decline_all_cards! }
@@ -46,7 +52,7 @@ def create_sale
describe Braintree::Configuration do
subject { Braintree::Configuration }
- it "sets the environment to development" do
+ it "sets the environment to :development" do
subject.environment.should == :development
end

0 comments on commit 8dde09c

Please sign in to comment.