aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-01-14 20:05:43 +0100
committerYves Senn <yves.senn@gmail.com>2013-01-14 21:17:22 +0100
commitbc19c0d09cd04e1862c7a8f3bb7bcaf289270df3 (patch)
treea760790b8f3bb6d5a9439d12075d595c2b32673a /activemodel/test/models
parentbf095770e561c51cebeb5a556afc03a21d9e603c (diff)
downloadrails-bc19c0d09cd04e1862c7a8f3bb7bcaf289270df3.tar.gz
rails-bc19c0d09cd04e1862c7a8f3bb7bcaf289270df3.tar.bz2
rails-bc19c0d09cd04e1862c7a8f3bb7bcaf289270df3.zip
test for ActiveModel::Conversion#to_partial_path and namespaced models
Diffstat (limited to 'activemodel/test/models')
-rw-r--r--activemodel/test/models/helicopter.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activemodel/test/models/helicopter.rb b/activemodel/test/models/helicopter.rb
index a52b6fb4dd..933f3c463a 100644
--- a/activemodel/test/models/helicopter.rb
+++ b/activemodel/test/models/helicopter.rb
@@ -1,3 +1,7 @@
class Helicopter
include ActiveModel::Conversion
end
+
+class Helicopter::Comanche
+ include ActiveModel::Conversion
+end