Sha256: bfaa10804e72f4df00defd9142bd3f9ad9c0f7819b4d63d999948f305ce7b313

Contents?: true

Size: 156 Bytes

Versions: 2

Compression:

Stored size: 156 Bytes

Contents

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

  sequence :sha1hash do |n|
    Digest::SHA1.hexdigest("#{n}")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pages_core-3.4.3 lib/rails/generators/pages_core/rspec/templates/factories.rb
pages_core-3.4.2 lib/rails/generators/pages_core/rspec/templates/factories.rb