Sha256: 6a9557f6c4c8ee5253a2b020484a7f02f0af7692815b6364052fdf5a4eaf0b25

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 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 :blog do
    name "Blogname"
    body "Inhoud"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
brightcontent-core-2.0.1 spec/factories.rb
brightcontent-core-2.0.0.alpha6 spec/factories.rb
brightcontent-core-2.0.0.alpha5 spec/factories.rb
brightcontent-2.0.0.alpha3 core/spec/factories.rb
brightcontent-core-2.0.0.alpha3 spec/factories.rb
brightcontent-2.0.0.alpha2 core/spec/factories.rb
brightcontent-core-2.0.0.alpha2 spec/factories.rb