James Harton
74d878b70e
All checks were successful
continuous-integration/drone/push Build is passing
13 lines
274 B
Elixir
13 lines
274 B
Elixir
defmodule Support.Factory do
|
|
@moduledoc false
|
|
use Smokestack
|
|
|
|
factory Support.Post do
|
|
attribute(:title, &Faker.Lorem.sentence/0)
|
|
attribute(:body, &Faker.Lorem.paragraph/0)
|
|
end
|
|
|
|
factory Support.Author do
|
|
attribute(:name, &Faker.Person.name/0)
|
|
end
|
|
end
|