Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 290 Bytes
require 'bundler/setup'
Bundler.require(:default, :test)
Dir['./spec/support/**/*.rb'].sort.each { |file| require file }
RSpec.configure do |config|
config.around do |example|
ActiveRecord::Base.transaction do
example.run
raise ActiveRecord::Rollback
end
end
end