test/processor_test.rb in thoughtbot-paperclip-2.2.3 vs test/processor_test.rb in thoughtbot-paperclip-2.2.4
- old
+ new
@@ -2,9 +2,9 @@
class ProcessorTest < Test::Unit::TestCase
should "instantiate and call #make when sent #make to the class" do
processor = mock
processor.expects(:make).with()
- Paperclip::Processor.expects(:new).with(:one, :two).returns(processor)
- Paperclip::Processor.make(:one, :two)
+ Paperclip::Processor.expects(:new).with(:one, :two, :three).returns(processor)
+ Paperclip::Processor.make(:one, :two, :three)
end
end