1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
Takashi Kokubun 2019-10-03 15:33:10 -07:00
parent ac69a051cf
commit a56d742e69
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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