Finish renaming "default" strategy to "history"

This commit is contained in:
Eric Freese
2018-11-24 15:07:08 -07:00
parent a7f0106b31
commit 70f36c007d
2 changed files with 1 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
require 'strategies/special_characters_helper'
describe 'the `history` suggestion strategy' do
it 'suggests the last matching history entry' do
with_history('ls foo', 'ls bar', 'echo baz') do
session.send_string('ls')
wait_for { session.content }.to eq('ls bar')
end
end
include_examples 'special characters'
end