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
olek-paperclip-2.3.3.1 test/processor_test.rb
radiant-paperclipped-extension-0.8.1 vendor/plugins/paperclip/test/processor_test.rb
bteitelb-paperclip-2.3.1.16 test/processor_test.rb
bteitelb-paperclip-2.3.1.15 test/processor_test.rb
rails_tinymce-0.0.1 plugins/paperclip/test/processor_test.rb
path-paperclip-2.3.3 test/processor_test.rb
paperclip-2.3.5 test/processor_test.rb
paperclip-2.3.4 test/processor_test.rb
bookis-paperclip-2.3.3.1 test/processor_test.rb
bookis-paperclip-2.3.3 test/processor_test.rb
olek-paperclip-2.3.3 test/processor_test.rb
lockbox_middleware-1.2.1 vendor/gems/paperclip-2.3.1.1/test/processor_test.rb
davidray-paperclip-2.3.3 test/processor_test.rb
mbailey-paperclip-2.3.3 test/processor_test.rb
mbailey-paperclip-2.3.2.1 test/processor_test.rb
mbailey-paperclip-2.3.2 test/processor_test.rb
paperclip-2.3.3 test/processor_test.rb
paperclip-2.3.2 test/processor_test.rb
paperclip-cloudfiles-2.3.2 test/processor_test.rb
paperclip-hacked-2.3.1.3 test/processor_test.rb