rspec for application controller : check host

后端 未结 0 1439
长发绾君心
长发绾君心 2021-01-17 06:33

I have my application controller :

class ApplicationController < ActionController::Base
  def default_url
    { host: ENV[\'https://mysite/\'] || \'localho         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题