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
bteitelb-paperclip-2.3.1.5 test/processor_test.rb
spree-0.9.2 vendor/plugins/paperclip/test/processor_test.rb
spree-0.9.1 vendor/plugins/paperclip/test/processor_test.rb
dekart-paperclip-2.3.1.2 test/processor_test.rb
dekart-paperclip-2.3.1.1 test/processor_test.rb
paperclip-2.3.1.1 test/processor_test.rb
paperclip-2.3.1 test/processor_test.rb
bteitelb-paperclip-2.3.1.4 test/processor_test.rb
bteitelb-paperclip-2.3.1.3 test/processor_test.rb
bteitelb-paperclip-2.3.1.2 test/processor_test.rb
bteitelb-paperclip-2.3.1.1 test/processor_test.rb
spree-0.9.0 vendor/plugins/paperclip/test/processor_test.rb