Sha256: 27006c6f4fdeccdc4bb5a97e6d1412e304f848b62dc61fa51781c51e959351ad

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

FactoryGirl.define do
  factory :user do
    role_id         123

    sequence :first_name do |n| "First #{n}" end
    sequence :last_name  do |n| "Last #{n}"  end
    access_level    "viewable"
  end

  factory :unique_user do
    sequence :first_name do |n| "First #{n}" end
    sequence :last_name  do |n| "Last #{n}"  end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple-sql-0.2.10 spec/support/factories/user_factory.rb
simple-sql-0.3.2 spec/support/factories/user_factory.rb
simple-sql-0.2.9 spec/support/factories/user_factory.rb