We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 615d69c + 3f4b65d commit aaeccb6Copy full SHA for aaeccb6
lib/thor/shell/basic.rb
@@ -1,5 +1,4 @@
1
require 'tempfile'
2
-require 'io/console'
3
4
class Thor
5
module Shell
spec/runner_spec.rb
@@ -131,7 +131,7 @@ def when_no_thorfiles_exist
131
132
# Stub load and save to avoid thor.yaml from being overwritten
133
allow(YAML).to receive(:load_file).and_return(@original_yaml)
134
- allow(File).to receive(:exists?).with(root_file).and_return(true)
+ allow(File).to receive(:exist?).with(root_file).and_return(true)
135
allow(File).to receive(:open).with(root_file, "w")
136
end
137
0 commit comments