mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Test histfile content
This commit is contained in:
parent
aed885acd6
commit
7f30e62270
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ describe Pry do
|
|||
@history.push "exit"
|
||||
|
||||
expect(File.open(@histfile.path).entries.size).to eq 1
|
||||
expect(IO.readlines(@histfile.path).first).to eq "kakaroto\n"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue