提交 506e2668 编写于 作者: A Aaron Patterson

remove unused variables. Oops!

上级 e06c06d4
......@@ -241,8 +241,8 @@ def test_should_calculate_grouped_association_with_invalid_field
end
def test_should_group_by_association_with_non_numeric_foreign_key
firm = Speedometer.create! id: 'ABC'
mv = Minivan.create! id: 'OMG', speedometer_id: 'ABC'
Speedometer.create! id: 'ABC'
Minivan.create! id: 'OMG', speedometer_id: 'ABC'
c = Minivan.group(:speedometer).count(:all)
first_key = c.keys.first
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册