Skip to content

Commit

Permalink
Removed repo.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanjos committed Jul 27, 2015
1 parent 7df8e85 commit 0290cb1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use Mix.Config

config :geo, Geo.Repo,
config :geo, Geo.Ecto.Test.Repo,
database: "geo_postgrex_test",
username: "postgres",
password: "postgres",
Expand Down
4 changes: 0 additions & 4 deletions lib/geo/repo.ex

This file was deleted.

4 changes: 3 additions & 1 deletion test/geo/ecto_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ defmodule Geo.Ecto.Test do

@multipoint_wkb "0106000020E6100000010000000103000000010000000F00000091A1EF7505D521C0F4AD6182E481424072B3CE92FED421C01D483CDAE281424085184FAEF7D421C0CB159111E1814240E1EBD7FBF8D421C0D421F7C8DF814240AD111315FFD421C0FE1F21C0DE81424082A0669908D521C050071118DE814240813C5E700FD521C0954EEF97DE814240DC889FA815D521C0B3382182E08142400148A81817D521C0E620D22BE2814240F1E95BDE19D521C08BD53852E3814240F81699E217D521C05B35D7DCE4814240B287C8D715D521C0336338FEE481424085882FB90FD521C0FEF65484E5814240A53E1E460AD521C09A0EA286E581424091A1EF7505D521C0F4AD6182E4814240"

alias Geo.Repo
defmodule Repo do
use Ecto.Repo, otp_app: :geo
end

defmodule Location do
use Ecto.Model
Expand Down

0 comments on commit 0290cb1

Please sign in to comment.