mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
11 lines
336 B
Ruby
11 lines
336 B
Ruby
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
|