We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ed1c1 commit f6707fcCopy full SHA for f6707fc
config/environments/test.rb
@@ -74,4 +74,9 @@
74
75
# Raise error when a before_action's only/except options reference missing actions.
76
config.action_controller.raise_on_missing_callback_actions = true
77
+
78
+ # Allow access to the Rails server through the default test host and the Capybara server.
79
+ # These settings are needed for the devcontainer setup.
80
+ config.hosts << ActionDispatch::Integration::Session::DEFAULT_HOST
81
+ config.hosts << "rails-app:#{ENV['CAPYBARA_SERVER_PORT']}" if ENV['CAPYBARA_SERVER_PORT']
82
end
0 commit comments