blob: 6134c21b54d6348620724b7e3e096428b0874895 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
defmodule Pleroma.UtilsTest do
use ExUnit.Case
describe "command_available?" do
test "available command" do
assert Pleroma.Utils.command_available?("iex") === true
end
test "unavailable command" do
assert Pleroma.Utils.command_available?("nonexistingcmd") === false
end
end
end
|