Sha256: 8ee30d62aa48b9d44a2543cb5923ad31a19f7605d58406ea95906ee5e462abfd

Contents?: true

Size: 222 Bytes

Versions: 6

Compression:

Stored size: 222 Bytes

Contents

require 'spec_helper'

describe Paperclip::IdentityAdapter do
  it "responds to #new by returning the argument" do
    adapter = Paperclip::IdentityAdapter.new
    assert_equal :target, adapter.new(:target, nil)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
kt-paperclip-5.4.0 spec/paperclip/io_adapters/identity_adapter_spec.rb
paperclip-6.1.0 spec/paperclip/io_adapters/identity_adapter_spec.rb
paperclip-6.0.0 spec/paperclip/io_adapters/identity_adapter_spec.rb
paperclip-5.3.0 spec/paperclip/io_adapters/identity_adapter_spec.rb
paperclip-5.2.1 spec/paperclip/io_adapters/identity_adapter_spec.rb
paperclip-5.2.0 spec/paperclip/io_adapters/identity_adapter_spec.rb