Skip to content

Commit

Permalink
Renamed a few test files
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Oct 14, 2021
1 parent 2490278 commit d0556c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ defmodule Crawler.Mixfile do

def application do
[
extra_applications: [:logger],
mod: {Crawler, []}
mod: {Crawler, []},
extra_applications: [:logger]
]
end

Expand Down
2 changes: 1 addition & 1 deletion test/support/test_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Crawler.TestCase do

using do
quote do
import Helpers
import Crawler.TestHelpers
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/support/helpers.ex → test/support/test_helpers.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Credit: https://gist.github.com/cblavier/5e15791387a6e22b98d8
defmodule Helpers do
defmodule Crawler.TestHelpers do
def wait(fun), do: wait(500, fun)
def wait(0, fun), do: fun.()

Expand Down

0 comments on commit d0556c9

Please sign in to comment.