Slip in a test to ensure we can use the atom syntax in mix task arguments
This commit is contained in:
parent
d817bae802
commit
e3dd0d45b7
1 changed files with 6 additions and 0 deletions
|
@ -225,6 +225,12 @@ test "dumping a specific group" do
|
|||
"config :web_push_encryption, :vapid_details, [subject: \"mailto:administrator@example.com\", public_key: \"BOsPL-_KjNnjj_RMvLeR3dTOrcndi4TbMR0cu56gLGfGaT5m1gXxSfRHOcC4Dd78ycQL1gdhtx13qgKHmTM5xAI\", private_key: \"Ism6FNdS31nLCA94EfVbJbDdJXCxAZ8cZiB1JQPN_t4\"]\r\n\r\n"
|
||||
]
|
||||
}
|
||||
|
||||
# Ensure operations work when using atom syntax
|
||||
MixTask.run(["dump", ":pleroma"])
|
||||
|
||||
assert_receive {:mix_shell, :info,
|
||||
["config :pleroma, :instance, [name: \"Pleroma Test\"]\r\n\r\n"]}
|
||||
end
|
||||
|
||||
test "dumping a specific key in a group" do
|
||||
|
|
Loading…
Reference in a new issue