mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
16 lines
299 B
Ruby
16 lines
299 B
Ruby
|
require 'helper'
|
||
|
|
||
|
describe "The REPL" do
|
||
|
before do
|
||
|
Pry.config.auto_indent = true
|
||
|
end
|
||
|
|
||
|
after do
|
||
|
Pry.config.auto_indent = false
|
||
|
end
|
||
|
|
||
|
it "should let you run commands in the middle of multiline expressions" do
|
||
|
mock_pry("def a", "!", "5").should =~ /Input buffer cleared/
|
||
|
end
|
||
|
end
|