   test "start_link/1: when unable to connect to Redis" do
     silence_log fn ->
       Process.flag :trap_exit, true
-      assert {:ok, pid} = Redix.start_link host: "nonexistent"
+      assert {:ok, pid} = Redix.start_link(host: "nonexistent")
       assert_receive {:EXIT, ^pid, :nxdomain}, 1000
     end
   end
 
   @tag :no_setup
   test "start_link/1: using a redis:// url" do
-    assert {:ok, pid} = Redix.start_link "redis://localhost:6379/3"
+    assert {:ok, pid} = Redix.start_link("redis://localhost:6379/3")
     assert Redix.command(pid, ["PING"]) == {:ok, "PONG"}
   end
 

defmodule RedixTest do
  use ExUnit.Case, async: true
  import Redix.TestHelpers
  alias Redix.Error
  alias Redix.ConnectionError

  setup_all do
    {:ok, conn} = Redix.start_link
    Redix.command(conn, ["FLUSHDB"])
    {:ok, %{}}
  end

  setup context do
    if context[:no_setup] do
      {:ok, %{}}
    else
      {:ok, conn} = Redix.start_link
      {:ok, %{conn: conn}}
    end
  end


  @tag :no_setup
  test "stop/1" do
    assert {:ok, pid} = Redix.start_link("redis://localhost:6379/3")
    assert Redix.command(pid, ["PING"]) == {:ok, "PONG"}
    assert Redix.stop(pid) == :ok

