Skip to content

Commit

Permalink
Test histfile content
Browse files Browse the repository at this point in the history
  • Loading branch information
bronzdoc committed Feb 11, 2016
1 parent aed885a commit 7f30e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/history_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
@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

Expand Down

0 comments on commit 7f30e62

Please sign in to comment.