Skip to content

Commit

Permalink
Ensure that FakeBraintree.transactions is exposed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Dec 16, 2011
1 parent 0934f1e commit 8dde09c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/fake_braintree_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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! }

Expand All @@ -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

Expand Down

0 comments on commit 8dde09c

Please sign in to comment.