summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-03-05 19:40:04 -0300
committerAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-03-05 21:49:48 -0300
commit3a50062dfcb2f5474376fb4c7b5f6d1473c6a09f (patch)
tree7e81bb8e538ee3405c1c79762c3165855e89cc47 /spec
parent3ca4029fd5b5534328b429c6207598695a001c0d (diff)
downloadpry-3a50062dfcb2f5474376fb4c7b5f6d1473c6a09f.tar.gz
Fix Pry::Editor specs on windows
Diffstat (limited to 'spec')
-rw-r--r--spec/editor_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/editor_spec.rb b/spec/editor_spec.rb
index a1147a47..68297f3f 100644
--- a/spec/editor_spec.rb
+++ b/spec/editor_spec.rb
@@ -59,6 +59,7 @@ describe Pry::Editor do
before do
allow(ENV).to receive(:key?).and_return(false)
allow(Kernel).to receive(:system)
+ allow(Pry::Helpers::Platform).to receive(:windows?).and_return(false)
end
%w[editor nano vi].each do |text_editor_name|