From ee81f06ebd20c72cdfc8bf176c10f76365ae6235 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Mon, 22 Aug 2011 12:59:26 -0700 Subject: [PATCH] Fix tests --- spec/twitter/client/timeline_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/twitter/client/timeline_spec.rb b/spec/twitter/client/timeline_spec.rb index f22f6a5eb..d564d9a9a 100644 --- a/spec/twitter/client/timeline_spec.rb +++ b/spec/twitter/client/timeline_spec.rb @@ -52,13 +52,13 @@ describe ".friends_timeline" do before do - stub_get("statuses/friends_timeline.#{format}"). + stub_get("statuses/home_timeline.#{format}"). to_return(:body => fixture("statuses.#{format}"), :headers => {:content_type => "application/#{format}; charset=utf-8"}) end - it "should get the 20 most recent statuses posted by the authenticating user and the user's they follow" do + it "should return the 20 most recent statuses posted by the authenticating user and the user's they follow" do @client.friends_timeline - a_get("statuses/friends_timeline.#{format}"). + a_get("statuses/home_timeline.#{format}"). should have_been_made end