Skip to content

Commit

Permalink
multiline -> single line specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartl committed Oct 15, 2010
1 parent b0e165d commit fe1de68
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions spec/models/micropost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,15 @@
end

it "should include the followed user's microposts" do
Micropost.from_users_followed_by(@user).
should include(@other_post)
Micropost.from_users_followed_by(@user).should include(@other_post)
end

it "should include the user's own microposts" do
Micropost.from_users_followed_by(@user).
should include(@user_post)
Micropost.from_users_followed_by(@user).should include(@user_post)
end

it "should not include an unfollowed user's microposts" do
Micropost.from_users_followed_by(@user).
should_not include(@third_post)
Micropost.from_users_followed_by(@user).should_not include(@third_post)
end
end
end

0 comments on commit fe1de68

Please sign in to comment.