rename lambda references to use shorthand syntax

This commit is contained in:
Albert Yi
2018-05-10 11:18:02 -07:00
parent 320f1a426e
commit 72f319ccf3
27 changed files with 69 additions and 69 deletions

View File

@@ -26,7 +26,7 @@ class PostReplacementsControllerTest < ActionDispatch::IntegrationTest
}
}
assert_difference(lambda { @post.replacements.size }) do
assert_difference(-> { @post.replacements.size }) do
post_auth post_replacements_path, @user, params: params
@post.reload
end