readability/test/test_helper.exs

11 lines
186 B
Elixir
Raw Normal View History

2016-04-24 05:32:43 +00:00
defmodule TestHelper do
@fixtures_path "./test/fixtures/"
def read_fixture(file_name) do
{:ok, html} = File.read(@fixtures_path <> file_name)
html
end
end
2016-04-15 11:51:29 +00:00
ExUnit.start()