Skip to content

Commit dd9b2d6

Browse files
authored
Merge pull request #754 from lcreid/more-fixes-for-docker
Another problem masked these problems
2 parents eab1e3e + 3adb8d5 commit dd9b2d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- HISTFILE=/app/.bash_history
1414
- SELENIUM_HOST=selenium
1515
- SELENIUM_PORT=4444
16-
- TEST_APP_HOST=shell
16+
- TEST_APP_HOST=web
1717
- TEST_APP_PORT=3001
1818
ports:
1919
- "3000"

demo/test/application_system_test_case.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def remote_selenium? = @remote_selenium ||= ENV["SELENIUM_HOST"].present? || ENV
2828
if remote_selenium?
2929
Capybara.server_host = "0.0.0.0"
3030
Capybara.server_port = ENV.fetch("TEST_APP_PORT", 3001)
31-
Capybara.app_host = "http://#{ENV.fetch('TEST_APP_HOST', 'shell')}:#{ENV.fetch('TEST_APP_PORT', Capybara.server_port)}"
31+
Capybara.app_host = "http://#{ENV.fetch('TEST_APP_HOST', 'web')}:#{ENV.fetch('TEST_APP_PORT', Capybara.server_port)}"
3232
end
3333

3434
Capybara::Screenshot.enabled = true

demo/test/system/bootstrap_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class BootstrapTest < ApplicationSystemTestCase
7474
#{html}
7575
MD
7676
end
77-
augmented_readme.gsub!(/(127.0.0.1:\d+|shell:3001)/, "test.host")
77+
augmented_readme.gsub!(/(127.0.0.1:\d+|web:3001)/, "test.host")
7878
File.write(File.expand_path("../../../README.md", __dir__), augmented_readme)
7979
end
8080

0 commit comments

Comments
 (0)