Skip to content

Instantly share code, notes, and snippets.

@shankardevy
Last active October 11, 2017 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shankardevy/9a07b38394079fe688abde00231162d5 to your computer and use it in GitHub Desktop.
Save shankardevy/9a07b38394079fe688abde00231162d5 to your computer and use it in GitHub Desktop.
use Mix.Config
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :mango, MangoWeb.Endpoint,
http: [port: 4001],
server: true # changed from false to true
config :hound, driver: "phantomjs" # added this line
# Print only warnings and errors during test
config :logger, level: :warn
# Configure your database
config :mango, Mango.Repo,
adapter: Ecto.Adapters.Postgres,
username: "postgres",
password: "postgres",
database: "mango_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment