Sha256: c7fd45e7e0aca38162b94a2d1122cac87e0bc8445ddfcb3bd8517ea9f21451c5
Contents?: true
Size: 610 Bytes
Versions: 16
Compression:
Stored size: 610 Bytes
Contents
### # Make CarrierWave tests faster and more reliable # if defined? CarrierWave require 'carrierwave/test/matchers' CarrierWave.configure do |config| config.storage = :file config.root = Rails.root.join('tmp') config.enable_processing = false end RSpec.configure do |config| config.include CarrierWave::Test::Matchers, :carrier_wave => true config.before(:each, :carrier_wave => true) do subject.class.enable_processing = true end config.after(:each, :carrier_wave => true) do subject.class.enable_processing = false end end end
Version data entries
16 entries across 16 versions & 1 rubygems