提交 601cc60a 编写于 作者: A Arun Agrawal

Fixed test names for generated_attribute_test.rb

上级 0a6ee1f5
......@@ -136,7 +136,7 @@ def test_handles_index_names_for_references
assert_equal ["post_id", "post_type"], create_generated_attribute('references{polymorphic}', 'post').index_name
end
def test_handles_index_names_for_references
def test_handles_column_names_for_references
assert_equal "post", create_generated_attribute('string', 'post').column_name
assert_equal "post_id", create_generated_attribute('references', 'post').column_name
assert_equal "post_id", create_generated_attribute('belongs_to', 'post').column_name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册