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.
FullStackConsoleTest
ApplicationTests::ServerTest
1 parent 51ce412 commit 790c9c5Copy full SHA for 790c9c5
railties/test/application/console_test.rb
@@ -121,7 +121,7 @@ def teardown
121
def write_prompt(command, expected_output = nil)
122
@primary.puts command
123
assert_output command, @primary
124
- assert_output expected_output, @primary if expected_output
+ assert_output expected_output, @primary, 100 if expected_output
125
assert_output "> ", @primary
126
end
127
railties/test/application/server_test.rb
@@ -29,12 +29,12 @@ def teardown
29
30
Bundler.with_original_env do
31
pid = Process.spawn("bin/rails server -b localhost -P tmp/dummy.pid", chdir: app_path, in: replica, out: replica, err: replica)
32
- assert_output("Listening", primary)
+ assert_output("Listening", primary, 100)
33
34
rails("restart")
35
36
- assert_output("Restarting", primary)
37
+ assert_output("Restarting", primary, 100)
38
ensure
39
kill(pid) if pid
40
@@ -59,8 +59,8 @@ def teardown
59
60
61
pid = Process.spawn("bin/rails server -b localhost", chdir: app_path, in: replica, out: primary, err: replica)
62
- assert_output("Hello world", primary)
63
+ assert_output("Hello world", primary, 100)
64
65
66
0 commit comments