提交 4737ad32 编写于 作者: J Jeremy Kemper

Merge pull request #8502 from arunagw/master

Fixed duplicate test case name
...@@ -136,7 +136,7 @@ def test_handles_index_names_for_references ...@@ -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 assert_equal ["post_id", "post_type"], create_generated_attribute('references{polymorphic}', 'post').index_name
end 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", 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('references', 'post').column_name
assert_equal "post_id", create_generated_attribute('belongs_to', '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.
先完成此消息的编辑!
想要评论请 注册