Sha256: acb143fefd9038b22ac4f8d26dbbb953abaa784b1f64dc9f7a2d887d756e2b11

Contents?: true

Size: 208 Bytes

Versions: 6

Compression:

Stored size: 208 Bytes

Contents

FactoryGirl.define do
  to_create { |i| i.save }
  factory :user, class: Models::User do
    display_name { Faker::Name.title  }
    email { Faker::Internet.email(display_name) }
    role { :guest }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grape-gen-0.0.6 template/spec/factories/user.rb
grape-gen-0.0.5 template/spec/factories/user.rb
grape-gen-0.0.4 template/spec/factories/user.rb
grape-gen-0.0.3 template/spec/factories/user.rb
grape-gen-0.0.2 template/spec/factories/user.rb
grape-gen-0.0.1 template/spec/factories/user.rb