Sha256: eb65b087a4105448fb0e3edfc669d7c471d38ea035aa0f0f033e819c7161a8b2

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

FactoryBot.define do
  factory :user do
    email { "u#{Gen.serial}@#{Howitzer.mailgun_domain}" }
    name { "FirstName LastName #{Gen.serial}" }
    password { Howitzer.app_test_pass }
    password_confirmation { Howitzer.app_test_pass }

    trait :default do
      initialize_with { User.default || User.new }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/prerequisites/templates/users.rb
howitzer-2.6.0 generators/prerequisites/templates/users.rb
howitzer-2.5.0 generators/prerequisites/templates/users.rb
howitzer-2.4.0 generators/prerequisites/templates/users.rb
howitzer-2.3.0 generators/prerequisites/templates/users.rb
howitzer-2.2.0 generators/prerequisites/templates/users.rb
howitzer-2.1.1 generators/prerequisites/templates/users.rb
howitzer-2.1.0 generators/prerequisites/templates/users.rb