Skip to content

Instantly share code, notes, and snippets.

@kirillshevch
Created March 4, 2016 15:09
Show Gist options
  • Save kirillshevch/e50bf9a4428010dd54f2 to your computer and use it in GitHub Desktop.
Save kirillshevch/e50bf9a4428010dd54f2 to your computer and use it in GitHub Desktop.
FactoryGirl.define do
factory :user do
name { FFaker::Name.name }
password { FFaker::Internet.password(8) }
email { FFaker::Internet.email }
confirmed_at Date.today
end
end
FactoryGirl.define do
factory :organization do
name { FFaker::Name.name }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment