1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

This commit is contained in:
Aaron Patterson 2014-05-12 10:26:20 -07:00
parent cfdda38088
commit 3d9bd2ac94

View file

@ -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