     Application.delete_env :kitto, :auth_token
   end
 
-  test "POST dashboards/:id reloads single dashboard" do
+  test "POST /dashboards/:id reloads single dashboard" do
     dashboard = "sample"
     body = %{command: "reload"}
     conn = conn(:post, "dashboards/#{dashboard}", Poison.encode!(body))

    end
  end

  test "with auth token post widgets/:id grants access when provided" do
    Application.put_env :kitto, :auth_token, "asecret"
    topic = "technology"
    body = %{elixir: "is awesome!"}

    assert conn.status == 204
  end

  test "POST /widgets/:id broadcasts the body on the given topic" do
    topic = "technology"
    body = %{elixir: "is awesome!"}
    conn = conn(:post, "widgets/#{topic}", Poison.encode!(%{elixir: "is awesome!"}))
