Sha256: 07f5f77dfa111af7df7fd56cea5531b79ed685b100b7d6e7bc02ef3d1ee85c88

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'cashier'

ENV['RAILS_ENV'] = 'test'
require 'test_app/config/environment'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  
  config.before(:each) do
    Rails.cache.clear
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cashier-0.2.0 spec/spec_helper.rb