* Ensured all tests use at least the DataCase module * addressed one flakey test * More flakey tests * Consolidated Mox usage
11 lines
272 B
Elixir
11 lines
272 B
Elixir
defmodule Pinchflat.Utils.FunctionUtilsTest do
|
|
use Pinchflat.DataCase
|
|
|
|
alias Pinchflat.Utils.FunctionUtils
|
|
|
|
describe "wrap_ok/1" do
|
|
test "wraps the provided term in an :ok tuple" do
|
|
assert FunctionUtils.wrap_ok("hello") == {:ok, "hello"}
|
|
end
|
|
end
|
|
end
|