Skip to content

Commit

Permalink
Restore spec for unfrozen input to command
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed May 31, 2024
1 parent 40dd972 commit 5f4e48a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/aruba/api/commands_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5f4e48a

Please sign in to comment.