Sha256: 5b07d01830eb0aec9b51b7f9c642ec36e2c195a90e9a2982cce39a5a32033883

Contents?: true

Size: 233 Bytes

Versions: 53

Compression:

Stored size: 233 Bytes

Contents

Factory.define :asset do |asset|
  asset.tags { Faker::Lorem.words(4) }
  asset.title { "Image asset" }
  asset.description { "The asset description" }
  asset.file {File.new(File.expand_path("../../files/beef.png",  __FILE__))}
end

Version data entries

53 entries across 53 versions & 4 rubygems

Version Path
noodall-form-builder-0.0.4 spec/factories/asset.rb
noodall-components-general-content-0.0.4 spec/factories/asset.rb
noodall-components-gallery-0.0.3 spec/factories/asset.rb
noodall-components-general-content-0.0.3 spec/factories/asset.rb
noodall-components-gallery-0.0.2 spec/factories/asset.rb
noodall-0.0.4 lib/noodall/templates/spec/factories/asset.rb
noodall-0.0.3 lib/noodall/templates/spec/factories/asset.rb
noodall-form-builder-0.0.3 spec/factories/asset.rb
noodall-form-builder-0.0.2 spec/factories/asset.rb
noodall-form-builder-0.0.1 spec/factories/asset.rb
noodall-components-general-content-0.0.2 spec/factories/asset.rb
noodall-components-general-content-0.0.1 spec/factories/asset.rb
noodall-components-gallery-0.0.1 spec/factories/asset.rb