Fix prompt colorization test's setup
This commit is contained in:
parent
ee88f4133f
commit
0ea9748ba6
@ -59,7 +59,8 @@ def test_console_defaults_to_IRB
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_prompt_env_colorization
|
def test_prompt_env_colorization
|
||||||
irb_console = Rails::Console::IRBConsole.new(app)
|
app = build_app(nil)
|
||||||
|
irb_console = Rails::Console.new(app).console
|
||||||
red = "\e[31m"
|
red = "\e[31m"
|
||||||
green = "\e[32m"
|
green = "\e[32m"
|
||||||
clear = "\e[0m"
|
clear = "\e[0m"
|
||||||
|
Loading…
Reference in New Issue
Block a user