Permalink
Browse files

"warning: assigned but unused variable"

  • Loading branch information...
1 parent 31abbe5 commit f02c9726f1e62335d6405a7460b3490b9e10c4d8 @amatsuda amatsuda committed Aug 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/relation/merging_test.rb
@@ -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

1 comment on commit f02c972

Contributor

jonatack commented on f02c972 Aug 20, 2014

Good eye 🔎

Please sign in to comment.