         %Tweet{text: ":tweet-1:"}
       ])
 
-      {:ok, pid} = Timeline.start_link(adapter: adapter)
+      {:ok, timeline} = Timeline.start_link(adapter: adapter)
 
       tweets = Timeline.tweets
 

      PubSub.start_link()
      PubSub.subscribe(self(), topic)

      {:ok, pid} = Timeline.start_link(adapter: adapter, topic: topic)
      on_exit fn -> assert_down(pid) end

      :ok
    end

      first_tweet = List.first(tweets)
      assert %Tweet{text: ":tweet-2:"} = first_tweet

      on_exit fn -> assert_down(timeline) end
    end
  end

