Sha256: 21e24841102da7202ed9ba7426917315d7967f6c0604a84645eb1a5632e6cc66

Contents?: true

Size: 338 Bytes

Versions: 56

Compression:

Stored size: 338 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

56 entries across 56 versions & 18 rubygems

Version Path
paperclip-v2_7-patched-ruby-1_8_6-2.7.5 test/processor_test.rb
dm-paperclip-2.5.0 test/processor_test.rb
paperclip-2.7.5 test/processor_test.rb
paperclip-2.7.4 test/processor_test.rb
paperclip-2.7.2 test/processor_test.rb
paperclip-2.8.0 test/processor_test.rb
paperclip-2.7.1 test/processor_test.rb
paperclip-3.0.3 test/processor_test.rb
cloudfuji_paperclip-3.0.3 test/processor_test.rb
cloudfuji_paperclip-2.4.6 test/processor_test.rb
paperclip-3.0.2 test/processor_test.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/paperclip-2.3.16/test/processor_test.rb
paperclip-2.7.0 test/processor_test.rb
paperclip-2.6.0 test/processor_test.rb
paperclip-2.5.2 test/processor_test.rb
paperclip-2.5.1 test/processor_test.rb
smarter_paperclip-0.3.0 test/processor_test.rb
paperclip-2.5.0 test/processor_test.rb
mender_paperclip-2.4.3.1 test/processor_test.rb
cemeng-paperclip-2.3.6 test/processor_test.rb