Sha256: 24e219f526c2ad57c88d766ee2080a730cb616e1de9280e8a16fe4e7ce66d1da

Contents?: true

Size: 503 Bytes

Versions: 19

Compression:

Stored size: 503 Bytes

Contents

FactoryGirl.define do
  factory :article do
    title "Test article"

    factory :full_article do
      association :page, factory: :full_page
    end

    factory :text_article do
      association :page, factory: :text_page
    end


    factory :slider_article do
      association :page, factory: :slider_page
    end

    factory :image_article do
      association :page, factory: :image_page
    end

    factory :video_article do
      association :page, factory: :video_page
    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
redditor-0.1.22 spec/factories/articles_factory.rb
redditor-0.1.20 spec/factories/articles_factory.rb
redditor-0.1.17 spec/factories/articles_factory.rb
redditor-0.1.16 spec/factories/articles_factory.rb
redditor-0.1.15 spec/factories/articles_factory.rb
redditor-0.1.14 spec/factories/articles_factory.rb
redditor-0.1.12 spec/factories/articles_factory.rb
redditor-0.1.11 spec/factories/articles_factory.rb
redditor-0.1.10 spec/factories/articles_factory.rb
redditor-0.1.9 spec/factories/articles_factory.rb
redditor-0.1.8 spec/factories/articles_factory.rb
redditor-0.1.7 spec/factories/articles_factory.rb
redditor-0.1.6 spec/factories/articles_factory.rb
redditor-0.1.5 spec/factories/articles_factory.rb
redditor-0.1.4 spec/factories/articles_factory.rb
redditor-0.1.3 spec/factories/articles_factory.rb
redditor-0.1.2 spec/factories/articles_factory.rb
redditor-0.1.1 spec/factories/articles_factory.rb
redditor-0.1.0 spec/factories/articles_factory.rb