/amexsbs/railsapp/vendor/plugins/paperclip/test/processor_test.rb
Ruby | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 91498303b015b1a104c9e53bf9c890cd MD5 | raw file
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, MIT
- require 'test/helper'
- 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, :three).returns(processor)
- Paperclip::Processor.make(:one, :two, :three)
- end
- end