lib/rspeckled/plugins/hooks/carrier_wave.rb in rspeckled-2.0.1 vs lib/rspeckled/plugins/hooks/carrier_wave.rb in rspeckled-2.1.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-RSpec.configure do |config|
- config.around(:each, :file_attachment => true) do |example|
+::RSpec.configure do |config|
+ config.around(:each, file_attachment: true) do |example|
config.rspeckled_logger.debug("Around Each - Start - #{__FILE__}")
previous_carrierwave_processing_mode = subject.class.enable_processing
previous_carrierwave_storage_mode = subject.class.storage