Sha256: 8683bcb60e151c72a2a9e5c73064b6638a7dadd705ed83f58347a033d3ef14f3

Contents?: true

Size: 174 Bytes

Versions: 13

Compression:

Stored size: 174 Bytes

Contents

FactoryGirl.define do
  sequence(:email) { |i| "john#{i}@example.com" }

  factory :user do
    email
    password 'password'
    password_confirmation 'password'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
devise_masquerade-0.1.3 spec/support/factories.rb
devise_masquerade-0.1.2 spec/support/factories.rb
devise_masquerade-0.1.1 spec/support/factories.rb
devise_masquerade-0.1.0 spec/support/factories.rb
devise_masquerade-0.0.9 spec/support/factories.rb
devise_masquerade-0.0.8 spec/support/factories.rb
devise_masquerade-0.0.7 spec/support/factories.rb
devise_masquerade-0.0.6 spec/support/factories.rb
devise_masquerade-0.0.5 spec/support/factories.rb
devise_masquerade-0.0.4 spec/support/factories.rb
devise_masquerade-0.0.3 spec/support/factories.rb
devise_masquerade-0.0.2 spec/support/factories.rb
devise_masquerade-0.0.1 spec/support/factories.rb