Created
December 7, 2016 21:04
-
-
Save memaker/ef041408a35b8e04e26d57158a4bc4c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spec/factories/people.rb | |
require 'faker' | |
FactoryGirl.define do | |
factory :person do | |
name { Faker::Name.first_name } | |
age { Faker::Number.between(0, 100) } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment