From 70f36c007db30a5fe1edf2b63664088b502a729c Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Sat, 24 Nov 2018 15:06:19 -0700 Subject: [PATCH] Finish renaming "default" strategy to "history" --- spec/strategies/{default_spec.rb => history_spec.rb} | 2 +- src/strategies/{default.zsh => history.zsh} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename spec/strategies/{default_spec.rb => history_spec.rb} (85%) rename src/strategies/{default.zsh => history.zsh} (100%) diff --git a/spec/strategies/default_spec.rb b/spec/strategies/history_spec.rb similarity index 85% rename from spec/strategies/default_spec.rb rename to spec/strategies/history_spec.rb index 89321f3..f8ae526 100644 --- a/spec/strategies/default_spec.rb +++ b/spec/strategies/history_spec.rb @@ -1,6 +1,6 @@ require 'strategies/special_characters_helper' -describe 'the default suggestion strategy' do +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') diff --git a/src/strategies/default.zsh b/src/strategies/history.zsh similarity index 100% rename from src/strategies/default.zsh rename to src/strategies/history.zsh