Created
July 30, 2014 11:26
-
-
Save dawidlenkiewicz/89cc177067f7c7795234 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
FactoryGirl.define do | |
factory :client_person do | |
first_name "Joe" | |
sequence(:last_name) { |n| "Doe#{n}" } | |
pesel { Pesel::EXAMPLE_Pesels[ClientPerson.count] } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment