зеркало из https://github.com/github/ruby.git
Ad-hoc fix of test-bundler
This commit is contained in:
Родитель
b419f90a8b
Коммит
dea600046a
|
@ -2,6 +2,16 @@
|
|||
|
||||
require "bundler/cli"
|
||||
|
||||
using Module.new {
|
||||
# Some `man` (e.g., on macOS) always highlights the output even to
|
||||
# non-tty.
|
||||
refine Spec::Helpers do
|
||||
def out
|
||||
super.gsub(/.[\b]/, '')
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
RSpec.describe "bundle executable" do
|
||||
it "returns non-zero exit status when passed unrecognized options" do
|
||||
bundle "--invalid_argument", :raise_on_error => false
|
||||
|
|
Загрузка…
Ссылка в новой задаче