summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-10-03 15:58:20 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-10-03 15:58:20 -0700
commit7db83b04d0e170a6b9ed56597a1327c68c04bfec (patch)
tree964e4d13f3baf2eed024654308a12881b6edfd13 /spec
parenta56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc (diff)
Revert "Simplify bin_path_spec.rb guard"
This reverts commit a56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc. I was checking the CI result of the wrong revision. It actually worked fine https://ci.appveyor.com/project/ruby/ruby/builds/27866303. Never mind...
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/library/rubygems/gem/bin_path_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/rubygems/gem/bin_path_spec.rb b/spec/ruby/library/rubygems/gem/bin_path_spec.rb
index 67b3e042c2..ab4ea9397e 100644
--- a/spec/ruby/library/rubygems/gem/bin_path_spec.rb
+++ b/spec/ruby/library/rubygems/gem/bin_path_spec.rb
@@ -11,7 +11,7 @@ describe "Gem.bin_path" do
ENV['BUNDLE_GEMFILE'] = @bundle_gemfile
end
- platform_is_not :windows do
+ guard_not -> { platform_is :windows } do
it "finds executables of default gems, which are the only files shipped for default gems" do
# For instance, Gem.bin_path("bundler", "bundle") is used by rails new