Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Aug 22, 2011
1 parent 92a0bb1 commit ee81f06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/twitter/client/timeline_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ee81f06

Please sign in to comment.