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