spec/paperclip/attachment_definitions_spec.rb in paperclip-4.2.4 vs spec/paperclip/attachment_definitions_spec.rb in paperclip-4.3.0
- old
+ new
@@ -6,8 +6,8 @@
Dummy.has_attached_file :avatar, {path: "abc"}
Dummy.has_attached_file :other_attachment, {url: "123"}
Dummy.do_not_validate_attachment_file_type :avatar
expected = {avatar: {path: "abc"}, other_attachment: {url: "123"}}
- assert_equal expected, Dummy.attachment_definitions
+ expect(Dummy.attachment_definitions).to eq expected
end
end