mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Rubocop
This commit is contained in:
@@ -108,7 +108,8 @@ class NoCacheS3Test < Test::Unit::TestCase
|
||||
setup do
|
||||
Sidekiq::Testing.fake!
|
||||
Dummy::AvatarAttachment.any_instance.stubs(:download_from_store).returns(stub_file('pixel.gif', @gif_pixel))
|
||||
@instance.update_columns avatar_file_name: 'foo.gif', avatar_content_type: 'image/gif', avatar_synced_to_store_1: true
|
||||
@instance.update_columns avatar_file_name: 'foo.gif', avatar_content_type: 'image/gif',
|
||||
avatar_synced_to_store_1: true
|
||||
end
|
||||
|
||||
should "delete tmp files" do
|
||||
@@ -118,7 +119,7 @@ class NoCacheS3Test < Test::Unit::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
context "with delayed_paperclip process_in_background" do
|
||||
context "with delayed_paperclip process_in_background" do # rubocop:disable Style/MultilineIfModifier
|
||||
setup do
|
||||
Dummy.process_in_background(:avatar)
|
||||
Sidekiq::Testing.fake!
|
||||
|
||||
Reference in New Issue
Block a user