Skip to content

Instantly share code, notes, and snippets.

@domagude

domagude/users.rb

Created Oct 19, 2017
Embed
What would you like to do?
FactoryGirl.define do
factory :user do
sequence(:name) { |n| "test#{n}" }
sequence(:email) { |n| "test#{n}@test.com" }
password '123456'
password_confirmation '123456'
end
end
@kaibrabo

This comment has been minimized.

Copy link

@kaibrabo kaibrabo commented Oct 16, 2018

password { '123456' }
password_confirmation { '123456' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment