       first_tweet = List.first(tweets)
       assert %Tweet{text: ":tweet-2:"} = first_tweet
 
-      on_exit fn -> assert_down(pid) end
+      on_exit fn -> assert_down(timeline) end
     end
   end
 

      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

        %Tweet{text: ":tweet-1:"}
      ])

      {:ok, timeline} = Timeline.start_link(adapter: adapter)

      tweets = Timeline.tweets

