Skip to content

Commit

Permalink
Fix console tests
Browse files Browse the repository at this point in the history
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 #51732.
  • Loading branch information
carlosantoniodasilva committed May 14, 2024
1 parent f0572dc commit 72fccfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/application/console_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ def test_sandbox_by_default_with_development_environment
end

def test_prompt_is_properly_set
options = "-e test"
options = "-e test -- --verbose"
spawn_console(options)

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

def test_prompt_allows_changing_irb_name
options = "-e test"
options = "-e test -- --verbose"
spawn_console(options)

write_prompt "conf.irb_name = 'foo'"
Expand Down

0 comments on commit 72fccfb

Please sign in to comment.