9 lines
246 B
Elixir
9 lines
246 B
Elixir
|
defmodule PodcastFeed.Utility.FormatTest do
|
||
|
use ExUnit.Case
|
||
|
|
||
|
alias PodcastFeed.Utility.Format
|
||
|
|
||
|
test "Test placeholder are replaced" do
|
||
|
assert "http://foo/bar" == Format.compile("http://{host}/{path}", host: "foo", path: "bar")
|
||
|
end
|
||
|
end
|