Sha256: d7d35257283c6e9ee6de084e18301d1f265946da705d158b06dae226048c13b2

Contents?: true

Size: 264 Bytes

Versions: 35

Compression:

Stored size: 264 Bytes

Contents

module TestData
  def attachment(options={})
    Paperclip::Attachment.new(:avatar, FakeModel.new, options)
  end

  def stringy_file
    StringIO.new('.\n')
  end

  def fixture_file(filename)
    File.join(File.dirname(__FILE__), 'fixtures', filename)
  end
end

Version data entries

35 entries across 33 versions & 8 rubygems

Version Path
jd-paperclip-azure-3.0.0 spec/support/test_data.rb
kt-paperclip-5.4.0 spec/support/test_data.rb
kt-paperclip-4.4.0 spec/support/test_data.rb
paperclip-6.1.0 spec/support/test_data.rb
paperclip-6.0.0 spec/support/test_data.rb
paperclip-5.3.0 spec/support/test_data.rb
paperclip-5.2.1 spec/support/test_data.rb
paperclip-5.2.0 spec/support/test_data.rb
paperclip-azure-1.0.2 spec/support/test_data.rb
paperclip-azure-1.0.1 spec/support/test_data.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/paperclip-5.1.0/spec/support/test_data.rb
paperclip-5.1.0 spec/support/test_data.rb
paperclip-5.0.0 spec/support/test_data.rb
paperclip-4.3.7 spec/support/test_data.rb
paperclip_jk-5.0.0.beta2 spec/support/test_data.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/paperclip-4.3.6/spec/support/test_data.rb
paperclip-5.0.0.beta2 spec/support/test_data.rb
paperclip-5.0.0.beta1 spec/support/test_data.rb
paperclip-4.3.6 spec/support/test_data.rb
paperclip-4.3.5 spec/support/test_data.rb