ash_cubdb/test/support/factory.ex
James Harton 74d878b70e
All checks were successful
continuous-integration/drone/push Build is passing
feat: create and read works.
2023-09-29 20:30:42 +13:00

14 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