ignore order

This commit is contained in:
Alexander Strizhakov 2020-05-13 10:17:47 +03:00
parent 2c356a4bac
commit fbe3d3aa5f
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
1 changed files with 3 additions and 5 deletions

View File

@ -43,11 +43,9 @@ test "get_all_as_keyword/0" do
{ConfigDB.from_string(saved.key), ConfigDB.from_binary(saved.value)} {ConfigDB.from_string(saved.key), ConfigDB.from_binary(saved.value)}
] ]
assert config[:quack] == [ assert config[:quack][:level] == :info
level: :info, assert config[:quack][:meta] == [:none]
meta: [:none], assert config[:quack][:webhook_url] == "https://hooks.slack.com/services/KEY/some_val"
webhook_url: "https://hooks.slack.com/services/KEY/some_val"
]
end end
describe "update_or_create/1" do describe "update_or_create/1" do