chore: fix failing test from Spark update
This commit is contained in:
parent
ffc5407b2c
commit
275110ba13
1 changed files with 1 additions and 5 deletions
|
@ -78,10 +78,6 @@ defmodule Smokestack.OptionTest do
|
||||||
test "it validates all options" do
|
test "it validates all options" do
|
||||||
assert {:error, error} = insert(Author, sss: 2)
|
assert {:error, error} = insert(Author, sss: 2)
|
||||||
message = Exception.message(error)
|
message = Exception.message(error)
|
||||||
assert message =~ "unknown options [:sss]"
|
assert message =~ ~r/required :[a-z]+ option not found/
|
||||||
|
|
||||||
for key <- ~w[:variant :load :count :build :relate :attrs] do
|
|
||||||
assert message =~ key
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue