Skip to content

Commit

Permalink
Better README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Oct 24, 2011
1 parent e54e98d commit 62feac8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,16 @@
Currently in alpha. Needs complete test coverage, then more functionality can
be added.

Call FakeBraintree.activate! to make it go.
## Quick start
Call `FakeBraintree.activate!` to make it go. `FakeBraintree.clear!` will clear
all data, which you probably want to do before each test.

Example, in spec\_helper.rb:

FakeBraintree.activate!

RSpec.configure do |c|
c.before do
FakeBraintree.clear!
end
end

0 comments on commit 62feac8

Please sign in to comment.