Sha256: 3e752cc4aa46fabaabaff783f7c1e26b274e86ae741c296e98e12bfd47926e1c

Contents?: true

Size: 336 Bytes

Versions: 112

Compression:

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

Version data entries

112 entries across 112 versions & 39 rubygems

Version Path
korobkov-paperclip-2.3.1.200909222157 test/processor_test.rb
korobkov-paperclip-2.3.1 test/processor_test.rb
lostboy-paperclip-2.2.6.1 test/processor_test.rb
lostboy-paperclip-2.2.6.2 test/processor_test.rb
luke0x-paperclip-2.3.1 test/processor_test.rb
peterpunk-metal-paperclip-2.2.9.1 test/processor_test.rb
peterpunk-paperclip-2.2.9.1 test/processor_test.rb
phildarnowsky-paperclip-2.2.10 test/processor_test.rb
rsturim-paperclip-2.2.9.2 test/processor_test.rb
thoughtbot-paperclip-2.2.4 test/processor_test.rb
thoughtbot-paperclip-2.2.5 test/processor_test.rb
thoughtbot-paperclip-2.2.6 test/processor_test.rb
thoughtbot-paperclip-2.2.7 test/processor_test.rb
thoughtbot-paperclip-2.2.8 test/processor_test.rb
thoughtbot-paperclip-2.2.9.1 test/processor_test.rb
thoughtbot-paperclip-2.2.9.2 test/processor_test.rb
thoughtbot-paperclip-2.3.0 test/processor_test.rb
thoughtbot-paperclip-2.3.1 test/processor_test.rb
tristandunn-paperclip-2.3.1 test/processor_test.rb
olek-paperclip-2.3.3.2 test/processor_test.rb