Skip to content

Instantly share code, notes, and snippets.

@marciofmjr
Last active September 12, 2018 04:13
Show Gist options
  • Save marciofmjr/4b6f544d5f9d990559e56579af869d07 to your computer and use it in GitHub Desktop.
Save marciofmjr/4b6f544d5f9d990559e56579af869d07 to your computer and use it in GitHub Desktop.

Faker

Instalação

group :development, :test do
  gem 'faker'
end

Exemplos

title: Faker::Lorem.sentence(3, false, 0).chop,
director: Faker::Name.name,
storyline: Faker::Lorem.paragraph,
watched_on: Faker::Time.between(4.months.ago, 1.week.ago))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment