Sha256: 0c8b9af257cf1a2e8ee4d2f7d39f3c55fb463bf3928b9e61ee89ac9df9549ed9

Contents?: true

Size: 211 Bytes

Versions: 5

Compression:

Stored size: 211 Bytes

Contents

FactoryGirl.define do
  factory :user do
    sequence(:name)  {|n| "John #{n}"}
    sequence(:email)  {|n| "john#{n}@doe.com"}
    active true

    factory :inactive_user do
      active false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maily_herald-0.9.4 spec/factories/users.rb
maily_herald-0.9.3 spec/factories/users.rb
maily_herald-0.9.2 spec/factories/users.rb
maily_herald-0.9.1 spec/factories/users.rb
maily_herald-0.8.0 spec/factories/users.rb