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
tristandunn-paperclip-2.3.1.1 test/processor_test.rb
spree-enriquez-0.9.4 vendor/plugins/paperclip/test/processor_test.rb
monde-paperclip-2.3.1.1 test/processor_test.rb
paperclip-2.2.4 test/processor_test.rb
paperclip-2.2.5 test/processor_test.rb
paperclip-2.2.6 test/processor_test.rb
paperclip-2.2.7 test/processor_test.rb
paperclip-2.2.8 test/processor_test.rb
paperclip-2.2.9.1 test/processor_test.rb
paperclip-2.2.9.2 test/processor_test.rb
paperclip-2.3.0 test/processor_test.rb
bteitelb-paperclip-2.3.1.7 test/processor_test.rb
spree-0.9.4 vendor/plugins/paperclip/test/processor_test.rb
novelys-paperclip-2.3.1.1 test/processor_test.rb
paperclip-cloudfiles-2.3.1.1.0 test/processor_test.rb
spree-0.9.3 vendor/plugins/paperclip/test/processor_test.rb
jdrowell-paperclip-2.3.1.1 test/processor_test.rb
bamnet-paperclip-2.3.1.1 test/processor_test.rb
paperclip_with_versions-2.3.1.1 test/processor_test.rb
bteitelb-paperclip-2.3.1.6 test/processor_test.rb