Ryan Fitzgerald
d80e0494af
Use accept_line in amend_line_spec instead of passing eval_string
2012-12-18 00:45:23 -08:00
Conrad Irwin
47ad5fd53f
s/context=/push_binding
2012-12-17 23:58:02 -08:00
Conrad Irwin
edd3970917
Fix PryTester
2012-12-17 23:54:07 -08:00
Ryan Fitzgerald
2cfc4695f9
Rename target to current_binding, add push_binding method
2012-12-16 17:12:03 -08:00
Ryan Fitzgerald
9ad2ec95a1
Make target state downstream of r()
2012-12-16 16:55:07 -08:00
Ryan Fitzgerald
0a4c8195df
Fix failures in command_integration_spec
2012-12-15 16:35:03 -08:00
Conrad Irwin
bb96695c8a
Move history pushing before command execution
...
This separates out concerns a little better, and paves the way for
extracing process_command from retreive_line.
2012-12-10 10:42:05 -08:00
Ryan Fitzgerald
e0bebb831d
Move version output into private test helper
2012-12-08 17:14:25 -08:00
Ryan Fitzgerald
038bdf8a91
Move some testing code into spec/helpers/
2012-12-08 17:14:25 -08:00
Ryan Fitzgerald
f0c61ac418
Add Mocha for mocking
2012-12-08 17:02:37 -08:00
John Mair
e9e2bb0360
move mock_pry to local spec/helper.rb
2012-12-09 00:05:39 +01:00
John Mair
4bf42ca006
move Pad to local helpers, and move more methods in PryTestHelpers
2012-12-09 00:01:18 +01:00
John Mair
9a279461c1
PryTestHelpers methods are now module_functions, included into Bacon::Context by default
2012-12-07 23:08:49 +01: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
John Mair
d1489a59a3
moved test helper.rb to lib/pry/test/helper.rb, so plugins can use our test helpers
2012-11-28 02:05:30 +01:00