spec/spec_helper.rb in rails-uploader-0.4.3 vs spec/spec_helper.rb in rails-uploader-0.4.4

- old
+ new

@@ -13,9 +13,11 @@ ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_url_options[:host] = 'test.com' Rails.backtrace_cleaner.remove_silencers! +# copy gem migrations to ensure we have the *same* in the app +FileUtils.cp_r 'lib/generators/uploader/install/templates/.', 'spec/dummy/db/migrate/' # Run any available migration ActiveRecord::Migrator.migrate File.expand_path('../dummy/db/migrate/', __FILE__) require 'carrierwave' CarrierWave.configure do |config|