open-pod/test/podcast_feed/utility/format_test.exs

9 lines
246 B
Elixir
Raw Normal View History

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