From fe1de6800dbdafba5d0a6c659c7bdadd55225e23 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Thu, 14 Oct 2010 21:25:33 -0700 Subject: [PATCH] multiline -> single line specs --- spec/models/micropost_spec.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spec/models/micropost_spec.rb b/spec/models/micropost_spec.rb index 62d4dce..5a66d85 100644 --- a/spec/models/micropost_spec.rb +++ b/spec/models/micropost_spec.rb @@ -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