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