diff options
Diffstat (limited to 'spec/command_integration_spec.rb')
-rw-r--r-- | spec/command_integration_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/command_integration_spec.rb b/spec/command_integration_spec.rb index 7579da62..cca00136 100644 --- a/spec/command_integration_spec.rb +++ b/spec/command_integration_spec.rb @@ -456,7 +456,7 @@ describe "commands" do end end - expect(pry_tester(commands: klass).eval("def yo\nhello\n")).to eq 7 + expect(pry_tester(commands: klass).eval("def yo", "hello")).to eq 7 end it( @@ -469,7 +469,7 @@ describe "commands" do end end - expect(pry_tester(commands: klass).eval("def yo\nhello\n")).to eq 5 + expect(pry_tester(commands: klass).eval("def yo", "hello\n")).to eq 5 end it 'should set the commands default, and the default should be overridable' do |