Kyrylo Silin
18c45d26c5
rubocop: enable the Style/FrozenStringLiteralComment cop
...
This will greatly ease Pry support on Ruby 3.0 (when it's out).
2019-05-08 00:13:17 +03:00
Kyrylo Silin
e61354693f
Add .rspec and require 'helper' from there
...
Just discovered this nice feature of RSpec where it can load all files for
us. Works with `bundle exec rake` and `bundle exec rspec spec/file_spec.rb`,
which covers all use cases.
2018-11-18 14:04:44 +08:00
Kyrylo Silin
96c6958cc6
specs: convert to shoulds to expects
2015-03-10 22:49:29 +02:00
Conrad Irwin
513fc182ca
Fix #1196
2014-04-27 14:13:48 -07:00
Robert Gleeson
74135c1890
allow for tests to be run with ease.
...
'bacon spec/config_spec.rb' instead of 'bacon -I spec spec/config_spec.rb'
2014-03-14 05:31:24 +01:00
Ryan Fitzgerald
1ea1927b43
Rename accept_line
to eval
2012-12-27 22:06:50 -08:00
Conrad Irwin
b7758db7c5
No passing eval_str in bang_spec.rb
2012-12-18 00:52:55 -08: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
☈king
848b6bdbeb
Rename for tabcompletion-friendliness.
2012-11-15 18:59:51 -06:00