Commit bc8eafe4 by Agustin Cavilliotti Committed by Jon Yurek

Change on other test for one more comment of @houndci

parent ba7cf296
...@@ -116,9 +116,11 @@ describe 'Attachment Registry' do ...@@ -116,9 +116,11 @@ describe 'Attachment Registry' do
context '.clear' do context '.clear' do
it 'removes all of the existing attachment definitions' do it 'removes all of the existing attachment definitions' do
foo = Class.new foo = Class.new
Paperclip::AttachmentRegistry.register(foo, Paperclip::AttachmentRegistry.register(
:greeter, foo,
{ ciao: "greeting" }) :greeter,
ciao: "greeting"
)
Paperclip::AttachmentRegistry.clear Paperclip::AttachmentRegistry.clear
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment