Sha256: c2ab2372460722ef24ffef15fab2f180fcb6463896a5910bb93d15dfdec02569
Contents?: true
Size: 699 Bytes
Versions: 5
Compression:
Stored size: 699 Bytes
Contents
require 'rubygems' ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummyapp/config/environment', __FILE__) require 'rspec/rails' require 'database_cleaner' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.color_enabled = true config.formatter = 'documentation' config.use_transactional_fixtures = true config.order = "random" config.before(:suite) do DatabaseCleaner.strategy = :truncation end config.before(:each) do DatabaseCleaner.start DatabaseCleaner.clean end config.after(:each) do DatabaseCleaner.clean end end def reset_configuration Ratchetio.reconfigure do |config| end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ratchetio-0.7.1 | spec/spec_helper.rb |
ratchetio-0.7.0 | spec/spec_helper.rb |
ratchetio-0.6.3 | spec/spec_helper.rb |
ratchetio-0.6.1 | spec/spec_helper.rb |
ratchetio-0.6.0 | spec/spec_helper.rb |