Sha256: 53c6db872fb89057b89a1f3f1998e9a70f388d12fe497d5219c5fc121f780ef0

Contents?: true

Size: 168 Bytes

Versions: 7

Compression:

Stored size: 168 Bytes

Contents

FactoryBot.define do
  sequence(:email) { |n| Forgery::Email.address }

  sequence(:time) { |n| Time.now - n.hours }

  sequence(:date) { |n| Date.today - n.days }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.11.0 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb
ab_admin-0.10.0 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb
ab_admin-0.9.0 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb
ab_admin-0.8.3 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb
ab_admin-0.8.2 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb
ab_admin-0.8.1 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb
ab_admin-0.8.0 lib/generators/ab_admin/install/templates/spec/factories/sequences.rb