Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.383 kb
Factory.sequence :email do |n|
"user#{n}@example.com"
end
Factory.define :user do |factory|
factory.email { Factory.next :email }
factory.password { "password" }
end
Factory.define :email_confirmed_user, :parent => :user do |factory|
factory.after_build { warn "[DEPRECATION] The :email_confirmed_user factory is deprecated, please use the :user factory instead." }
end
Jump to Line
Something went wrong with that request. Please try again.