summaryrefslogtreecommitdiff
path: root/vendor/plugins/paperclip/test/processor_test.rb
blob: a05f0a9d31a82a2e0d229d5a78c77a7efebb1d55 (plain)
1
2
3
4
5
6
7
8
9
10
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