Skip to content

Commit 72fccfb

Browse files
Fix console tests
We need to pass the verbose option in order to test the full expected output. Not sure why these were green on the branch. Introduced by rails#51732.
1 parent f0572dc commit 72fccfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/test/application/console_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ def test_sandbox_by_default_with_development_environment
111111
end
112112

113113
def test_prompt_is_properly_set
114-
options = "-e test"
114+
options = "-e test -- --verbose"
115115
spawn_console(options)
116116

117117
write_prompt "a = 1", "a = 1", prompt: "app-template(test)>"
118118
end
119119

120120
def test_prompt_allows_changing_irb_name
121-
options = "-e test"
121+
options = "-e test -- --verbose"
122122
spawn_console(options)
123123

124124
write_prompt "conf.irb_name = 'foo'"

0 commit comments

Comments
 (0)