Sha256: 86058ee15fede25c43c08f4435cc19dc7419909044fc513d253bbb2f39c1c2a6
Contents?: true
Size: 268 Bytes
Versions: 153
Compression:
Stored size: 268 Bytes
Contents
FactoryGirl.define do factory :target do title [ "Test Target" ] sequence(:identifier) { |n| [ "tgt%05d" % n ] } after(:build) do |c| c.upload File.new(File.join(Ddr::Models::Engine.root.to_s, 'spec', 'fixtures', 'target.png')) end end end
Version data entries
153 entries across 153 versions & 1 rubygems