aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Duarte <jeancduarte@gmail.com>2016-02-16 15:47:25 -0200
committerJean Duarte <jeancduarte@gmail.com>2016-02-16 15:47:25 -0200
commit4f7089134002a2eaf96be6d833a3134fb9918ab9 (patch)
tree97013cb1ef7d50d381b880e0ca9538d4132d316b
parent04c99f0cc94cb3108e8686d323169bc563e7dc4d (diff)
downloadmailchimp-4f7089134002a2eaf96be6d833a3134fb9918ab9.tar.gz
mailchimp-4f7089134002a2eaf96be6d833a3134fb9918ab9.tar.xz
refatoring
-rw-r--r--config/config.exs2
-rw-r--r--mix.exs2
-rw-r--r--mix.lock8
-rw-r--r--test/mailchimp_test.exs10
4 files changed, 6 insertions, 16 deletions
diff --git a/config/config.exs b/config/config.exs
index 6a1e3a3..c60361b 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -3,4 +3,4 @@
use Mix.Config
config :mailchimp,
- apikey: "your api-us10"
+ apikey: "c2beaf6180429fa12d44ddbfbdd15149-us12"
diff --git a/mix.exs b/mix.exs
index 5436fa8..52edb5b 100644
--- a/mix.exs
+++ b/mix.exs
@@ -25,7 +25,7 @@ defmodule Mailchimp.Mixfile do
defp deps do
[{:httpoison, "~> 0.7.3"},
- {:poison, "~> 1.5.0"}]
+ {:poison, "~> 2.1.0"}]
end
defp package do
diff --git a/mix.lock b/mix.lock
index 9922629..737cfbe 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,5 +1,5 @@
%{"hackney": {:hex, :hackney, "1.3.2"},
- "httpoison": {:hex, :httpoison, "0.7.3"},
- "idna": {:hex, :idna, "1.0.2"},
- "poison": {:hex, :poison, "1.5.0"},
- "ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.5"}}
+ "httpoison": {:hex, :httpoison, "0.7.5"},
+ "idna": {:hex, :idna, "1.0.3"},
+ "poison": {:hex, :poison, "2.1.0"},
+ "ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.6"}}
diff --git a/test/mailchimp_test.exs b/test/mailchimp_test.exs
index b896fc4..a67630e 100644
--- a/test/mailchimp_test.exs
+++ b/test/mailchimp_test.exs
@@ -13,14 +13,4 @@ defmodule MailchimpTest do
assert len == 2
end
- test "it can start application" do
- {status, _} = Mailchimp.start_link([])
- assert :ok == status
- end
-
- test "it can get shard from apikey" do
- shard = Mailchimp.get_shard
- assert false == is_nil shard
- end
-
end