Kill trailing whitespace in ruby files

This commit is contained in:
小太
2013-03-19 23:10:10 +11:00
parent c107f96cec
commit cba839ba76
319 changed files with 2710 additions and 2710 deletions

View File

@@ -16,12 +16,12 @@ module PostSets
@post_1.add_favorite!(@user)
@post_3.add_favorite!(@user)
end
teardown do
CurrentUser.user = nil
CurrentUser.ip_addr = nil
end
context "a favorite set for before the most recent post" do
setup do
id = ::Favorite.where(:user_id => @user.id, :post_id => @post_3.id).first.id
@@ -36,7 +36,7 @@ module PostSets
end
end
end
context "a favorite set for after the second most recent post" do
setup do
id = ::Favorite.where(:user_id => @user.id, :post_id => @post_2.id).first.id
@@ -51,7 +51,7 @@ module PostSets
end
end
end
context "a favorite set for page 2" do
setup do
::Favorite.stubs(:records_per_page).returns(1)
@@ -65,7 +65,7 @@ module PostSets
end
end
end
context "a favorite set with no page specified" do
setup do
::Favorite.stubs(:records_per_page).returns(1)