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

remove useless `new` implementation

上级 2b5d309a
......@@ -10,10 +10,6 @@ class TestRequest < Request
"rack.request.cookie_hash" => {}.with_indifferent_access
)
def self.new(env = {})
super
end
def initialize(env = {})
env = Rails.application.env_config.merge(env) if defined?(Rails.application) && Rails.application
super(default_env.merge(env))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册