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

6 commits

Author SHA1 Message Date
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