From 9619e2e7794ba6acda84ab3f4debca279c475ec8 Mon Sep 17 00:00:00 2001 From: Arnaud Venturi Date: Mon, 7 May 2018 13:19:42 +0200 Subject: [PATCH] Now the test should be working --- spec/integrations/vicmd_partial_accept_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/integrations/vicmd_partial_accept_spec.rb b/spec/integrations/vicmd_partial_accept_spec.rb index f645890..8f5c7d4 100644 --- a/spec/integrations/vicmd_partial_accept_spec.rb +++ b/spec/integrations/vicmd_partial_accept_spec.rb @@ -11,8 +11,8 @@ describe 'a vicmd mode partial-accept widget' do it 'moves the cursor through suggestion as expected' do session.run_command("bindkey s vi-cmd-mode") with_history('foobar foo') do - session.send_string('fo').send_keys('s').send_keys('e') - wait_for { session.content }.to eq('foobar') + session.send_string('fo').send_keys('s').send_keys('e').send_keys('a').send_string('plop') + wait_for { session.content }.to eq('foobarplop') end end end