Skip to content

Commit

Permalink
Import MyApp.ModelCase instead of __MODULE__
Browse files Browse the repository at this point in the history
  • Loading branch information
gjaldon committed May 11, 2015
1 parent b78dda0 commit 64aa6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/templates/ecto/model_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule <%= application_module %>.ModelCase do
alias <%= application_module %>.Repo
import Ecto.Model
import Ecto.Query, only: [from: 2]
import unquote(__MODULE__)
import <%= application_module %>.ModelCase
end
end

Expand Down

0 comments on commit 64aa6c1

Please sign in to comment.