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
96c6958cc6 specs: convert to shoulds to expects 2015-03-10 22:49:29 +02:00
Christian Haase
367d02c0d6 Remove slash-change of windows paths 2014-09-12 16:34:43 +02:00
Conrad Irwin
d220af1061 Inject _pry_ into Pry::Editor 2014-05-01 01:51:01 -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
Kyrylo Silin
92a1b86e1e Fix errors in "edit_spec.rb" and "editor_spec.rb"
Basically, the condition was a bit wrong. Let's hope this commit fixes
it.
2013-01-14 18:43:19 +02:00
Kyrylo Silin
05d4d13f37 Fix errors on Rubinius and JRuby
These implementations have slightly different APIs for getting your
temp directory path.
2013-01-14 16:44:09 +01:00
Kyrylo Silin
ae3f534b35 Fix errors in tests on Windows
Some tests are still failing, though. This commit fixes wrong usage of
temporary paths on Windows. Please, note: the `edit` command is working
well; the issue is in poor tests.

Prettify some ugly code in `spec/editor_spec.rb`.
2013-01-14 16:44:09 +01:00
Kyrylo Silin
9df47232cc Use proper temp directories for each OS
Also, there was a failing test on Windows ("should shell-escape files").
You will see it if you're running tests on Windows. Make it conditional.
2013-01-14 16:44:09 +01:00
Conrad Irwin
d29f6b5c04 Fix indentation (HARDER) 2013-01-14 16:44:09 +01:00
Conrad Irwin
15caf5fb87 Only shellword escape filenames in system calls on linux 2013-01-14 16:44:09 +01:00