From a5518d6ae6d2cd1dc12776fe76ac49b8ccf6d551 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Shibuya Date: Sat, 19 Oct 2024 16:51:51 +0900 Subject: [PATCH] Fix ruby-head build --- spec/uploader/versions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/uploader/versions_spec.rb b/spec/uploader/versions_spec.rb index 2c2ac361c..fdc98ccbc 100644 --- a/spec/uploader/versions_spec.rb +++ b/spec/uploader/versions_spec.rb @@ -23,7 +23,7 @@ it "should raise an error when a user tries to use a Builder for configuration" do @uploader_class.version :thumb expect { @uploader_class.versions[:thumb].storage = :file }.to raise_error NoMethodError, /{ self.storage= :file }/ - expect { @uploader_class.versions[:thumb].process convert: :png }.to raise_error NoMethodError, /{ self.process {:convert=>:png} }/ + expect { @uploader_class.versions[:thumb].process convert: :png }.to raise_error NoMethodError, /{ self.process {:?convert(=>|: ):png} }/ end it "should add an version instance to #versions" do