Sha256: a66c15592106e84611a5b062201d0b3636e406a2be88c369017fde5103d803ba

Contents?: true

Size: 300 Bytes

Versions: 8

Compression:

Stored size: 300 Bytes

Contents

FactoryGirl.define do
    factory :user, class: Hippo::User do
        name { Faker::Name.name }
        email { Faker::Internet.email }
        login { Faker::Internet.user_name }

        password 'password'
        password_confirmation 'password'
        role_names ['administrator']
    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hippo-fw-0.9.8 spec/factories/user.rb
hippo-fw-0.9.7 spec/factories/user.rb
hippo-fw-0.9.6 spec/factories/user.rb
hippo-fw-0.9.5 spec/factories/user.rb
hippo-fw-0.9.4 spec/factories/user.rb
hippo-fw-0.9.3 spec/factories/user.rb
hippo-fw-0.9.2 spec/factories/user.rb
hippo-fw-0.9.1 spec/factories/user.rb