Sha256: 33fcbb79b458057ba53fb1841729540464a7abe55a5a5a33ca562d9564ee28c0
Contents?: true
Size: 266 Bytes
Versions: 14
Compression:
Stored size: 266 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
14 entries across 14 versions & 1 rubygems