Skip to content

Commit

Permalink
"warning: assigned but unused variable"
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 20, 2014
1 parent 31abbe5 commit f02c972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/relation/merging_test.rb
Expand Up @@ -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
Expand Down

1 comment on commit f02c972

@jonatack
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good eye 🔎

Please sign in to comment.