Sha256: b1ddaa77191fefa20e40887a5ebe5f325608452e5f9779a1cd46e650557e84e0

Contents?: true

Size: 147 Bytes

Versions: 21

Compression:

Stored size: 147 Bytes

Contents

FactoryBot.define do
  sequence :email do |n|
    "user#{n}@example.com"
  end

  factory :user do
    email
    password { "password" }
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
clearance-2.9.2 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.9.1 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.9.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.8.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.7.2 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.7.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.6.2 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.6.1 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.6.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.5.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.4.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.3.1 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.3.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.2.1 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.2.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.1.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.0.0 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.0.0.beta2 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-2.0.0.beta1 lib/generators/clearance/specs/templates/factories/clearance.rb
clearance-1.17.0 lib/generators/clearance/specs/templates/factories/clearance.rb