aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSteven Blowers <sblowers@findmypast.com>2016-09-07 10:17:17 +0100
committerSteven Blowers <sblowers@findmypast.com>2016-09-07 10:17:17 +0100
commitffc64c707a04c5a55de9132ad6b6949ff74efcc7 (patch)
tree003905a5ecfe9fc3a8074a9093670235df7f4bd6 /config
parent2371d345c69455882df9d9d9f7692804f9aa5001 (diff)
downloadzendex-ffc64c707a04c5a55de9132ad6b6949ff74efcc7.tar.gz
zendex-ffc64c707a04c5a55de9132ad6b6949ff74efcc7.tar.xz
Adding tests and creating a ticket.
Diffstat (limited to 'config')
-rw-r--r--config/config.exs29
-rw-r--r--config/test.exs3
2 files changed, 5 insertions, 27 deletions
diff --git a/config/config.exs b/config/config.exs
index 62393db..dd0aa56 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -1,30 +1,5 @@
-# This file is responsible for configuring your application
-# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
-# This configuration is loaded before any dependency and is restricted
-# to this project. If another project depends on this project, this
-# file won't be loaded nor affect the parent project. For this reason,
-# if you want to provide default values for your application for
-# 3rd-party users, it should be done in your "mix.exs" file.
+config :zendex, :http_client, HTTPoison
-# You can configure for your application as:
-#
-# config :zendex, key: :value
-#
-# And access this configuration in your application as:
-#
-# Application.get_env(:zendex, :key)
-#
-# Or configure a 3rd-party app:
-#
-# config :logger, level: :info
-#
-
-# It is also possible to import configuration files, relative to this
-# directory. For example, you can emulate configuration per environment
-# by uncommenting the line below and defining dev.exs, test.exs and such.
-# Configuration from the imported file will override the ones defined
-# here (which is why it is important to import them last).
-#
-# import_config "#{Mix.env}.exs"
+import_config "#{Mix.env}.exs"
diff --git a/config/test.exs b/config/test.exs
new file mode 100644
index 0000000..b2a3ed8
--- /dev/null
+++ b/config/test.exs
@@ -0,0 +1,3 @@
+use Mix.Config
+
+config :zendex, :http_client, Zendex.HttpClient.InMemory