Sha256: 497057a9acee214a81c633970b41db9bc3e3f43f0c57e98f38c42109c62a842d
Contents?: true
Size: 454 Bytes
Versions: 4
Compression:
Stored size: 454 Bytes
Contents
# Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. require 'rspec' require 'fake_braintree' Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each {|f| require f} Dir.mkdir('tmp') unless Dir.exist?('tmp') File.new('tmp/braintree_log', 'w').close RSpec.configure do |config| config.mock_with :mocha config.include BraintreeHelpers config.before { FakeBraintree.clear! } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fake_braintree-0.0.5 | spec/spec_helper.rb |
fake_braintree-0.0.4 | spec/spec_helper.rb |
fake_braintree-0.0.3 | spec/spec_helper.rb |
fake_braintree-0.0.2 | spec/spec_helper.rb |