From 9b575e1db8ab2641ac2e7b2548abd6791cbf1f36 Mon Sep 17 00:00:00 2001 From: Ryan Fitzgerald Date: Tue, 18 Dec 2012 00:54:22 -0800 Subject: [PATCH] Don't pass eval_string in show_input_spec --- spec/commands/show_input_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/commands/show_input_spec.rb b/spec/commands/show_input_spec.rb index bf10bf5b..2a60438a 100644 --- a/spec/commands/show_input_spec.rb +++ b/spec/commands/show_input_spec.rb @@ -6,12 +6,12 @@ describe "show-input" do end it 'should correctly show the current lines in the input buffer' do - eval_str = unindent(<<-STR) + @t.accept_lines *unindent(<<-STR).split("\n") def hello puts :bing STR - @t.process_command 'show-input', eval_str + @t.process_command 'show-input' @t.last_output.should =~ /\A\d+: def hello\n\d+: puts :bing/ end end