Sha256: d5a47132ea19aaabd6f1d73cb8687f518fe287cf940290c4531d06e89c0bbd50

Contents?: true

Size: 362 Bytes

Versions: 6

Compression:

Stored size: 362 Bytes

Contents

module Factories
  salt = User.make_token
  FactoryGirl.define do
    factory :user do
      active true
      email 'test@testing.com'
      salt salt
      crypted_password User.secure_digest('password',salt,Minimalist::Authentication::PREFERRED_DIGEST_VERSION)
      using_digest_version Minimalist::Authentication::PREFERRED_DIGEST_VERSION
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
minimalist_authentication-0.6.14 test/factories.rb
minimalist_authentication-0.6.12 test/factories.rb
minimalist_authentication-0.6.11 test/factories.rb
minimalist_authentication-0.6.10 test/factories.rb
minimalist_authentication-0.6.9 test/factories.rb
minimalist_authentication-0.6.8 test/factories.rb