From 3a50062dfcb2f5474376fb4c7b5f6d1473c6a09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Luis=20Leal=20Cardoso=20Junior?= Date: Sat, 5 Mar 2022 19:40:04 -0300 Subject: Fix Pry::Editor specs on windows --- spec/editor_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') 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| -- cgit v1.2.1