A bunch of tests were order-dependent and weren't cleaning up properly after
they're executed. This results in complications with #2055 where we want to
randomise our test suite.
With this change every test defines what it needs and then cleans up properly,
instead of relying on the global space and fixtures.
P.S. The specs are still quite messy but this change is a step in the right
direction.
Fix issue #205 (history option to show just history for current session)
Add `--all` switch. `hist` is `hist --all` now. `hist` without any
parameters shows the history of the current session.
Make sure that `show-doc` displays the comments of the original
definition by default. This test *must* fail with current state of
things. The goal is to eliminate the oddities in Pry across some Ruby
implementations.
For more information see:
d05233ecd3
* removed most historicla junk from lib/pry/test/helper.rb
* relocated recalcitrant junk to the local spec/helper.rb (this isn't exposed to 3rd parties)