aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-04 09:52:43 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-04 09:52:43 -0500
commitb9774a594339d5ac92503d91d180d88ec1faf436 (patch)
tree68fc5dbfa7cbd18d135405ff095270de4fb77cc0 /activerecord
parent32f3f8f1e24174f01bbca2db5b5d3ad4d1848cea (diff)
downloadrails-b9774a594339d5ac92503d91d180d88ec1faf436.tar.gz
rails-b9774a594339d5ac92503d91d180d88ec1faf436.tar.bz2
rails-b9774a594339d5ac92503d91d180d88ec1faf436.zip
Remove unused variable
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index eb0ebc75ad..c79c0c87c5 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.rb
@@ -69,7 +69,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase
def test_has_many_build_with_options
college = College.create(name: 'UFMT')
- student = Student.create(active: true, college_id: college.id, name: 'Sarah')
+ Student.create(active: true, college_id: college.id, name: 'Sarah')
assert_equal college.students, Student.where(active: true, college_id: college.id)
end