From f217faf1da7dd38a5f110162adfb94c94782e06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sun, 14 Jun 2020 19:42:31 +0200 Subject: [PATCH] [rubygems/rubygems] Better skip messages https://github.com/rubygems/rubygems/commit/4f519638ae --- spec/bundler/bundler/cli_spec.rb | 2 +- spec/bundler/commands/help_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/bundler/bundler/cli_spec.rb b/spec/bundler/bundler/cli_spec.rb index 710d7637e4..56cb56609b 100644 --- a/spec/bundler/bundler/cli_spec.rb +++ b/spec/bundler/bundler/cli_spec.rb @@ -14,7 +14,7 @@ RSpec.describe "bundle executable" do end it "looks for a binary and executes it if it's named bundler-" do - skip "obscure error" if Gem.win_platform? + skip "Could not find command testtasks, probably because not a windows friendly executable" if Gem.win_platform? File.open(tmp("bundler-testtasks"), "w", 0o755) do |f| ruby = ENV["RUBY"] || "/usr/bin/env ruby" diff --git a/spec/bundler/commands/help_spec.rb b/spec/bundler/commands/help_spec.rb index 33a20dda94..feb5e283ea 100644 --- a/spec/bundler/commands/help_spec.rb +++ b/spec/bundler/commands/help_spec.rb @@ -28,7 +28,7 @@ RSpec.describe "bundle help" do end it "looks for a binary and executes it with --help option if it's named bundler-" do - skip "obscure error" if Gem.win_platform? + skip "Could not find command testtasks, probably because not a windows friendly executable" if Gem.win_platform? File.open(tmp("bundler-testtasks"), "w", 0o755) do |f| f.puts "#!/usr/bin/env ruby\nputs ARGV.join(' ')\n"