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 ea2d698 + 4a8cdc8 commit 8ec6acbCopy full SHA for 8ec6acb
spec/line_editor/readline_spec.rb
@@ -2,6 +2,8 @@
2
3
describe Thor::LineEditor::Readline do
4
before do
5
+ # Eagerly check Readline availability before mocking
6
+ Thor::LineEditor::Readline.available?
7
unless defined? ::Readline
8
::Readline = double("Readline")
9
allow(::Readline).to receive(:completion_append_character=).with(nil)
0 commit comments