Sha256: e33675c91b07d9a53558f1f950668aa93e2b6f6570e92b07e60a4ac0c7860979

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

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).returns(processor)
    Paperclip::Processor.make(:one, :two)
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
thoughtbot-paperclip-2.2.0 test/processor_test.rb
thoughtbot-paperclip-2.2.1 test/processor_test.rb
thoughtbot-paperclip-2.2.2 test/processor_test.rb
thoughtbot-paperclip-2.2.3 test/processor_test.rb
paperclip-2.2.0 test/processor_test.rb
paperclip-2.2.1 test/processor_test.rb
paperclip-2.2.2 test/processor_test.rb
paperclip-2.2.3 test/processor_test.rb