mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Rename default spec to history spec
This commit is contained in:
parent
cf458d2a3b
commit
7d19f8f9b2
1 changed files with 1 additions and 1 deletions
12
spec/strategies/history_spec.rb
Normal file
12
spec/strategies/history_spec.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue