提交 f02c9726 编写于 作者: A Akira Matsuda

"warning: assigned but unused variable"

上级 31abbe51
......@@ -153,7 +153,7 @@ class MergingDifferentRelationsTest < ActiveRecord::TestCase
rating_1 = comment_1.ratings.create!
comment_2 = dev.comments.create!(body: "I'm John", post: Post.first)
rating_2 = comment_2.ratings.create!
comment_2.ratings.create!
assert_equal dev.ratings, [rating_1]
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册