Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 441 Bytes
require 'bundler'
Bundler.setup
require 'paperclip-storage-tmp'
Dir[File.dirname(__FILE__) + '/support/*.rb'].each {|f| require f }
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
config.around do |example|
ActiveRecord::Base.transaction do
example.run
raise ActiveRecord::Rollback
end
end
end
Jump to Line
Something went wrong with that request. Please try again.