summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-14 19:42:31 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commitf217faf1da7dd38a5f110162adfb94c94782e06b (patch)
tree8f776bbc1ff6cee0a29ef27d5e140ca99a9415d9 /spec
parent414b1485d6c87182e1797049346f8fff37904c40 (diff)
[rubygems/rubygems] Better skip messages
https://github.com/rubygems/rubygems/commit/4f519638ae
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/bundler/cli_spec.rb2
-rw-r--r--spec/bundler/commands/help_spec.rb2
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-<task>" 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-<task>" 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"