Skip to content

Commit

Permalink
Fix ruby-head build
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed Oct 19, 2024
1 parent bb8c6e1 commit a5518d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/uploader/versions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5518d6

Please sign in to comment.