Sha256: 2cc7239702805254c78810b32090af6fcb6c58ad637f63b5d75462487116507c

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

FactoryGirl.define do
  factory :redbase_user, :class => RedBase::User do
    email "admin@example.com"
    first_name "admin"
    last_name "admin"
    password "123123123"
    password_confirmation "123123123"
    association :group, :factory => :redbase_group, :name => "admin"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
red_base-0.6.0 lib/generators/red_base/templates/spec/factories/users.rb
red_base-0.5.1 lib/generators/red_base/templates/spec/factories/users.rb
red_base-0.5.0 lib/generators/red_base/templates/spec/factories/users.rb