pageflow/support/config/paperclip.rb in pageflow-support-16.1.0 vs pageflow/support/config/paperclip.rb in pageflow-support-16.2.0
- old
+ new
@@ -11,10 +11,10 @@
end
end
config.before(:each) do |example|
unless example.metadata[:unstub_paperclip] || example.metadata[:js]
- allow_any_instance_of(Paperclip::Attachment).to receive(:post_process)
+ allow_any_instance_of(Paperclip::Attachment).to receive(:post_process_styles)
allow(Paperclip).to receive(:run).and_return('100x100')
end
end
end