Skip to content

Commit

Permalink
Don't setup spec if we will skip it
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Nov 16, 2020
1 parent df7d88f commit 6b0a1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundler/spec/commands/exec_spec.rb
Expand Up @@ -865,6 +865,8 @@ def bin_path(a,b,c)
context "nested bundle exec" do
context "when bundle in a local path" do
before do
skip "https://github.com/rubygems/rubygems/issues/3351" if Gem.win_platform?

gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
gem "rack"
Expand All @@ -874,8 +876,6 @@ def bin_path(a,b,c)
end

it "correctly shells out" do
skip "https://github.com/rubygems/rubygems/issues/3351" if Gem.win_platform?

file = bundled_app("file_that_bundle_execs.rb")
create_file(file, <<-RUBY)
#!#{Gem.ruby}
Expand Down

0 comments on commit 6b0a1aa

Please sign in to comment.