1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Kyrylo Silin
62ebc08d52 spec/code_spec.rb: add more tests for $LOAD_PATH behaviour 2013-11-23 22:13:54 +02:00
Kyrylo Silin
fc2993a5ca spec/code_spec.rb: refactor tests
- Use fixtures as a test files
- Write more concise spec titles
2013-11-23 22:08:53 +02:00
Kyrylo Silin
ce99ec425a Command::Hist: change the behaviour
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.
2013-03-17 10:43:06 +02:00
Kyrylo Silin
175c0e950b ShowDocSpec: add a test concerning monkeypatching
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
2013-03-14 17:51:05 +02:00
John Mair
7c8f9be176 Show error when no docs found 2013-03-10 00:19:10 +01:00
Conrad Irwin
78caffbcbc Dedup .pryrc across symlinks too 2013-02-17 21:33:18 -08:00
John Mair
e1c1720226 oops, forgot to add spec/fixtures/whereami_helper.rb 2013-02-03 11:06:38 +01:00
Ryan Fitzgerald
cbf19cc7a4 Move all fixtures into fixtures/ 2012-12-09 11:42:41 -08:00
John Mair
31a9578228 cleaned up lib/pry/test/helper.rb
* 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)
2012-12-07 21:41:05 +01:00
Conrad Irwin
71bd613f13 More spec fixtures around 2012-11-18 01:33:32 -08:00