Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure that FakeBraintree.transactions is exposed.

  • Loading branch information...
commit 8dde09c6a78ec4cab020ae9b095d454d4643d217 1 parent 0934f1e
@gabebw gabebw authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 spec/fake_braintree_spec.rb
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.