提交 ed180eea 编写于 作者: A Aaron Patterson

just assign the instance variables on the test

上级 ab54ec72
......@@ -165,16 +165,12 @@ def app
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册