1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/spec/fixtures
Kyrylo Silin f2ef3b6ed0 spec/commands/show_{doc,source}: refactor to be order independent
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.
2019-06-15 18:28:00 +03:00
..
cdpathdir Add .gitkeep to spec/fixtures/cdpathdir/ in order to fix tests 2015-06-17 17:02:27 +03:00
slinky spec/code_spec.rb: refactor tests 2013-11-23 22:08:53 +02:00
candidate_helper1.rb rubocop: enable the Style/FrozenStringLiteralComment cop 2019-05-08 00:13:17 +03:00
candidate_helper2.rb rubocop: enable the Style/FrozenStringLiteralComment cop 2019-05-08 00:13:17 +03:00
cat_load_path spec/code_spec.rb: add more tests for $LOAD_PATH behaviour 2013-11-23 22:13:54 +02:00
cat_load_path.rb spec/code_spec.rb: add more tests for $LOAD_PATH behaviour 2013-11-23 22:13:54 +02:00
example.erb More spec fixtures around 2012-11-18 01:33:32 -08:00
example_nesting.rb rubocop: fix offences of the Style/RedundantParentheses cop 2019-03-02 13:31:20 +02:00
Gemfile rubocop: enable the Style/FrozenStringLiteralComment cop 2019-05-08 00:13:17 +03:00
pry_history Command::Hist: change the behaviour 2013-03-17 10:43:06 +02:00
slinky.rb spec/code_spec.rb: refactor tests 2013-11-23 22:08:53 +02:00
testlinkrc Dedup .pryrc across symlinks too 2013-02-17 21:33:18 -08:00
testrc Move all fixtures into fixtures/ 2012-12-09 11:42:41 -08:00
testrcbad Move all fixtures into fixtures/ 2012-12-09 11:42:41 -08:00
whereami_helper.rb rubocop: enable the Style/FrozenStringLiteralComment cop 2019-05-08 00:13:17 +03:00