Sha256: 84cdecacb264d24f609255542bbf665b66e218fa94ebf6684101f67b612facfa
Contents?: true
Size: 330 Bytes
Versions: 17
Compression:
Stored size: 330 Bytes
Contents
FactoryGirl.define do factory :user do password "password" password_confirmation "password" sequence(:email) { |n| "john-#{n}@example.com" } before(:create) do |user, evaluator| FactoryGirl.create(:email_template, slug: :after_create_user) end end factory :admin, parent: :user do end end
Version data entries
17 entries across 17 versions & 1 rubygems