diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-12 10:26:20 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-12 15:54:46 -0700 |
commit | 3d9bd2ac9482eabf4ee0ed286952ccd19207e851 (patch) | |
tree | 934f3a9b3d8c47335dc4673f276c2c265f9cd078 | |
parent | cfdda38088c95194c3d8bb2fedb70bc06e8fe2e0 (diff) | |
download | rails-3d9bd2ac9482eabf4ee0ed286952ccd19207e851.tar.gz rails-3d9bd2ac9482eabf4ee0ed286952ccd19207e851.tar.bz2 rails-3d9bd2ac9482eabf4ee0ed286952ccd19207e851.zip |
this class is a model, so it should act like one
-rw-r--r-- | actionpack/test/dispatch/prefix_generation_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/prefix_generation_test.rb b/actionpack/test/dispatch/prefix_generation_test.rb index 08501d19c0..cd31e8e326 100644 --- a/actionpack/test/dispatch/prefix_generation_test.rb +++ b/actionpack/test/dispatch/prefix_generation_test.rb @@ -15,6 +15,9 @@ module TestGenerationPrefix ActiveModel::Name.new(klass) end + + def to_model; self; end + def persisted?; true; end end class WithMountedEngine < ActionDispatch::IntegrationTest |