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
area17-paperclip-2.2.9.1.1 test/processor_test.rb
area17-paperclip-2.2.9.2.1 test/processor_test.rb
area17-paperclip-2.2.9.2.2 test/processor_test.rb
area17-paperclip-2.2.9.2.3 test/processor_test.rb
area17-paperclip-2.2.9.2.4 test/processor_test.rb
area17-paperclip-2.3.1 test/processor_test.rb
beaucollins-paperclip-2.2.7 test/processor_test.rb
dancroak-paperclip-2.3.1 test/processor_test.rb
dejanstrbac-paperclip-2.2.9.2 test/processor_test.rb
doxo-paperclip-2.3.1 test/processor_test.rb
fermion-paperclip-2.2.8 test/processor_test.rb
heythisisnate-paperclip-2.3.0.1 test/processor_test.rb
heythisisnate-paperclip-2.3.0.2 test/processor_test.rb
heythisisnate-paperclip-2.3.0.5 test/processor_test.rb
joshpuetz-paperclip-2.3.0.1 test/processor_test.rb
joshpuetz-paperclip-2.3.0.2 test/processor_test.rb
joshpuetz-paperclip-2.3.0 test/processor_test.rb
korobkov-paperclip-2.3.1.20090921 test/processor_test.rb
korobkov-paperclip-2.3.1.200909221442 test/processor_test.rb
korobkov-paperclip-2.3.1.200909221741 test/processor_test.rb