aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
diff options
context:
space:
mode:
authorGrant Hutchins <nertzy@gmail.com>2012-03-10 17:40:27 -0500
committerGrant Hutchins <nertzy@gmail.com>2012-03-10 17:40:27 -0500
commite78c5eeba10001223a81203c7b544c09b8394831 (patch)
tree5df163516a7195c33e11dc24ab969f4565ff52ae /activemodel/test
parentd5d241cb2c696f13e2c16efca0d24565a6e1c0a5 (diff)
downloadrails-e78c5eeba10001223a81203c7b544c09b8394831.tar.gz
rails-e78c5eeba10001223a81203c7b544c09b8394831.tar.bz2
rails-e78c5eeba10001223a81203c7b544c09b8394831.zip
Fix comments about to_partial_path
Diffstat (limited to 'activemodel/test')
-rw-r--r--activemodel/test/cases/conversion_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/conversion_test.rb b/activemodel/test/cases/conversion_test.rb
index 24552bcaf2..d679ad41aa 100644
--- a/activemodel/test/cases/conversion_test.rb
+++ b/activemodel/test/cases/conversion_test.rb
@@ -24,7 +24,7 @@ class ConversionTest < ActiveModel::TestCase
assert_equal "1", Contact.new(:id => 1).to_param
end
- test "to_path default implementation returns a string giving a relative path" do
+ test "to_partial_path default implementation returns a string giving a relative path" do
assert_equal "contacts/contact", Contact.new.to_partial_path
assert_equal "helicopters/helicopter", Helicopter.new.to_partial_path,
"ActiveModel::Conversion#to_partial_path caching should be class-specific"