Created
January 17, 2012 16:43
-
-
Save rodrigomaia/1627415 to your computer and use it in GitHub Desktop.
Ex de FactoryGirl
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
Factory.define :click do |f| | |
f.association :faq | |
f.data Time.now | |
f.sequence(:codigo_cliente) { |n| n.to_s.rjust(6,"0") } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment