summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-10-03 15:33:10 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-10-03 15:33:11 -0700
commita56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc (patch)
tree86e1e35c1fcf11444abd03ae306056340280306a /spec
parentac69a051cf00e3fda3cb7e8d7377558d84ef880f (diff)
Simplify bin_path_spec.rb guard
For some reason the guard_not seems not working as expected https://ci.appveyor.com/project/ruby/ruby/builds/27866153/job/v6wa6q6p7b7n7r37
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 ab4ea9397e..67b3e042c2 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
- guard_not -> { platform_is :windows } do
+ platform_is_not :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