From 3d9bd2ac9482eabf4ee0ed286952ccd19207e851 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 12 May 2014 10:26:20 -0700 Subject: this class is a model, so it should act like one --- actionpack/test/dispatch/prefix_generation_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/test') 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 -- cgit v1.2.3