을 나는 현재 다음과 같은 오류 받고 있어요 :RSpec에 실패 "누락 된 호스트에 연결하는 ...!"
1) Organization.invite_user should create a new user for a specific orgs initial user
Failure/Error: organization.invite_user(second_email)
ActionView::Template::Error:
Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
# ./app/views/devise/mailer/reset_password_instructions.html.erb:5:in `_app_views_devise_mailer_reset_password_instructions_html_erb___4480543240081585515_70131221479860'
# ./app/models/organization.rb:34:in `invite_user'
# ./spec/models/organization_spec.rb:24:in `block (3 levels) in <top (required)>'
누구나 RSpec에 여기에 일이있을 수 있는지 알고 있습니까?
Rails 4.2에서는 작동하지 않는다. – Alex