From 33768b3640c5ca7e4d8312a320daf4a577c91542 Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Tue, 1 Aug 2017 11:43:22 -0700 Subject: [PATCH] Improve rebound bracket test --- spec/integrations/rebound_bracket_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/integrations/rebound_bracket_spec.rb b/spec/integrations/rebound_bracket_spec.rb index f2c2fb9..5dc6c5f 100644 --- a/spec/integrations/rebound_bracket_spec.rb +++ b/spec/integrations/rebound_bracket_spec.rb @@ -1,9 +1,9 @@ describe 'rebinding [' do context 'initialized before sourcing the plugin' do before do - session.send_string("function [ { test \"$@\" }") + session.send_string("function [ { $commands[\\[] \"$@\" }") session.send_keys("'enter'") - session.run_command("clear") + session.clear_screen end it 'executes the custom behavior and the built-in behavior' do