From 4f7089134002a2eaf96be6d833a3134fb9918ab9 Mon Sep 17 00:00:00 2001 From: Jean Duarte Date: Tue, 16 Feb 2016 15:47:25 -0200 Subject: refatoring --- config/config.exs | 2 +- mix.exs | 2 +- mix.lock | 8 ++++---- test/mailchimp_test.exs | 10 ---------- 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 -- cgit v1.2.1