legendary-doc-site/apps/content/test/content/commentmeta_test.exs

15 lines
337 B
Elixir

defmodule Legendary.Content.CommentmetaTest do
use Legendary.Content.DataCase
alias Legendary.Content.{Commentmeta, Repo}
test "can save a new commentmeta" do
%Commentmeta{}
|> Commentmeta.changeset(%{
comment_id: 123,
key: "testcommentmeta",
value: "some value",
})
|> Repo.insert!()
end
end