mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
info and help with test
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
defmodule PlantIdDiscordBotTest.Cog.Help do
|
||||
use ExUnit.Case
|
||||
|
||||
test "/help" do
|
||||
{:ok, response} = PlantIdDiscordBot.Cog.Info.help(%{data: %{name: "help"}})
|
||||
[embed] = response[:data][:embeds]
|
||||
assert match?(%Nostrum.Struct.Embed{}, embed)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user