Sha256: e17798068d49a8f91c48218f3320cad18ab413a3a987c66f2c2ccdb4e7505c89
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../spec/dummy/config/environment', __FILE__) require 'rspec/rails' require 'database_cleaner' Dir[Rails.root.join('spec/support/**/*.rb')].each {|f| require f} RSpec.configure do |config| config.order = 'random' config.before(:suite) do DatabaseCleaner.clean_with(:truncation) run_dummy_app_migrations end def run_dummy_app_migrations ActiveRecord::Migrator.migrate(Rails.root.join('db', 'migrate')) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stripe_local-0.0.2 | spec/spec_helper.rb |