Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed test names for generated_attribute_test.rb

  • Loading branch information...
commit 601cc60a1b7a6f747e19c4bc4b33b6631f0576ef 1 parent 0a6ee1f
Arun Agrawal arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/generators/generated_attribute_test.rb
2  railties/test/generators/generated_attribute_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.