Sha256: 8bd8b2d7694c201711d486969ddb511a7ed72bef5da80dddcac4bd17a4195023

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

require './test/helper'

class EmptyStringAdapterTest < Test::Unit::TestCase
  context 'a new instance' do
    setup do
      @subject = Paperclip.io_adapters.for('')
    end

    should "return false for a call to nil?" do
      assert !@subject.nil?
    end

    should 'return false for a call to assignment?' do
      assert !@subject.assignment?
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paperclip-3.5.2 test/io_adapters/empty_string_adapter_test.rb
paperclip-3.5.1 test/io_adapters/empty_string_adapter_test.rb
paperclip-3.5.0 test/io_adapters/empty_string_adapter_test.rb