I installed devise and added config.action_mailer.default_url_options = { :host => \'localhost:3000\' }
to my development.rb file as suggested. When I run cu
For posterity, in case it has nothing to do with mailers but you still get the Missing host
error while running capybara, rspec...
If you are using url helpers in your tests and have included somewhere in your rspec config:
config.include Rails.application.routes.url_helpers
Then, you should also add something along this line to the same config:
Rails.application.routes.default_url_options[:host] = "test.host"