Browse files

You don't have to call FakeBraintree.activate

  • Loading branch information...
Gabe Berke-Williams
Gabe Berke-Williams committed Nov 21, 2011
1 parent 499cb05 commit dff3e512fb0aeff27de0b11efe54303875c87154
Showing with 6 additions and 4 deletions.
  1. +6 −4
@@ -33,12 +33,14 @@ Currently in alpha (i.e. it does not support every Braintree call).
* `Braintree::TransparentRedirect.confirm` (only for creating customers)
## Quick start
-Call `FakeBraintree.activate!` to make it go. `FakeBraintree.clear!` will clear
-all data, which you probably want to do before each test.
+Just require the library and you're good to go:
-Example, in spec\_helper.rb:
+ require 'fake_braintree'
- FakeBraintree.activate!
+`FakeBraintree.clear!` will clear all data, which you almost certainly want to
+do before each test.
+Full example, in spec\_helper.rb:
RSpec.configure do |c|
c.before do

0 comments on commit dff3e51

Please sign in to comment.