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...
This commit is contained in:
Takashi Kokubun 2019-10-03 15:58:20 -07:00
parent a56d742e69
commit 7db83b04d0
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
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