Sha256: 16d7ad91e944f0e4d7694f6a4cdca6395e06cd09fecc0fa355b51f79522e0184

Contents?: true

Size: 310 Bytes

Versions: 61

Compression:

Stored size: 310 Bytes

Contents

FactoryGirl.define do
  sequence :email do |n|
    "person#{n}@example.com"
  end

  factory :admin_user, class: Brightcontent::AdminUser do
    email
    password "password"
    password_confirmation "password"
  end

  factory :page, class: Brightcontent::Page do
    name "Pagina"
    body "Body"
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
brightcontent-pages-2.6.0 spec/factories.rb
brightcontent-pages-2.5.1 spec/factories.rb
brightcontent-pages-2.5.0 spec/factories.rb
brightcontent-pages-2.4.6 spec/factories.rb
brightcontent-pages-2.4.5 spec/factories.rb
brightcontent-pages-2.4.4 spec/factories.rb
brightcontent-pages-2.4.3 spec/factories.rb
brightcontent-pages-2.4.2 spec/factories.rb
brightcontent-pages-2.4.1 spec/factories.rb
brightcontent-pages-2.4.0 spec/factories.rb
brightcontent-pages-2.3.4 spec/factories.rb
brightcontent-pages-2.3.3 spec/factories.rb
brightcontent-pages-2.3.2 spec/factories.rb
brightcontent-pages-2.3.1 spec/factories.rb
brightcontent-pages-2.3.0 spec/factories.rb
brightcontent-pages-2.2.2 spec/factories.rb
brightcontent-pages-2.2.1 spec/factories.rb
brightcontent-pages-2.2.0 spec/factories.rb
brightcontent-pages-2.1.5 spec/factories.rb
brightcontent-pages-2.1.4 spec/factories.rb