Sha256: 7899105c0cde81a635c53ae1a53b27ee2fe823e1b0efb326ce281893b6745608

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

FactoryGirl.define do
  factory :theme, class: 'Landable::Theme' do
    sequence(:name) { |n| "Theme #{n}" }
    description 'Factory-generated theme'
    thumbnail_url 'http://example.com/bogus-screenshot.png'

    body <<-HTML
    <html>
      <head>{% head %}</head>
      <body><header>header</header><article>{% body %}</article></body>
    </html>
    HTML
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landable-1.14.0 spec/factories/theme.rb
landable-1.13.2 spec/factories/theme.rb