diff options
author | Tiago Freire <tcfonnet@gmail.com> | 2016-07-22 09:18:21 -0300 |
---|---|---|
committer | Tiago Freire <tcfonnet@gmail.com> | 2016-07-25 10:51:14 -0300 |
commit | cad149156ee46ec9feb4929dc1ed5d60a4f4f44e (patch) | |
tree | a36f8548f7b220f7846d7c4f77d03d5ab55bd390 /test/test_helper.exs |
[WIP] Init.
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r-- | test/test_helper.exs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs new file mode 100644 index 0000000..2fc6291 --- /dev/null +++ b/test/test_helper.exs @@ -0,0 +1,9 @@ +ExUnit.start() + +{:ok, files} = File.ls("./test/support/") + +Enum.each files, fn(file) -> + if String.match?(file, ~r/(.*).exs$/) do + Code.require_file "support/#{file}", __DIR__ + end +end |