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

just assign the instance variables on the test

This commit is contained in:
Aaron Patterson 2014-08-05 09:45:21 -07:00
parent ab54ec7248
commit ed180eea48

View file

@ -165,16 +165,12 @@ module TestGenerationPrefix
RailsApplication
end
def engine_object
@engine_object ||= EngineObject.new
end
def app_object
@app_object ||= AppObject.new
end
attr_reader :engine_object, :app_object
def setup
RailsApplication.routes.default_url_options = {}
@engine_object = EngineObject.new
@app_object = AppObject.new
end
include BlogEngine.routes.mounted_helpers