Permalink
Browse files

Fixed test names for generated_attribute_test.rb

  • Loading branch information...
1 parent 0a6ee1f commit 601cc60a1b7a6f747e19c4bc4b33b6631f0576ef @arunagw arunagw committed Dec 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/generated_attribute_test.rb
@@ -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

0 comments on commit 601cc60

Please sign in to comment.