From 5f4e48ac8a9924fd873567a6379af9ed1d4b67e6 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen <matijs@matijs.net> Date: Fri, 31 May 2024 12:38:55 +0200 Subject: [PATCH] Restore spec for unfrozen input to command --- spec/aruba/api/commands_spec.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec/aruba/api/commands_spec.rb b/spec/aruba/api/commands_spec.rb index 95ee8d26..07828a6d 100644 --- a/spec/aruba/api/commands_spec.rb +++ b/spec/aruba/api/commands_spec.rb @@ -13,15 +13,17 @@ after { @aruba.all_commands.each(&:stop) } - it "respond to input" do - @aruba.type "Hello" - @aruba.type "\u0004" + it "respond to unfrozen input" do + @aruba.type(+"Hello") + @aruba.type(+"\u0004") + expect(@aruba.last_command_started).to have_output "Hello" end it "respond to frozen input" do @aruba.type "Hello" @aruba.type "\u0004" + expect(@aruba.last_command_started).to have_output "Hello" end