Permalink
Browse files

this class is a model, so it should act like one

  • Loading branch information...
1 parent cfdda38 commit 3d9bd2ac9482eabf4ee0ed286952ccd19207e851 @tenderlove tenderlove committed May 12, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 actionpack/test/dispatch/prefix_generation_test.rb
@@ -15,6 +15,9 @@ def klass.name; self end
ActiveModel::Name.new(klass)
end
+
+ def to_model; self; end
+ def persisted?; true; end
end
class WithMountedEngine < ActionDispatch::IntegrationTest

0 comments on commit 3d9bd2a

Please sign in to comment.