summaryrefslogtreecommitdiff
path: root/spec/install
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install')
-rw-r--r--spec/install/allow_offline_install_spec.rb3
-rw-r--r--spec/install/deploy_spec.rb2
-rw-r--r--spec/install/gemfile/gemspec_spec.rb1
-rw-r--r--spec/install/gemfile/git_spec.rb6
-rw-r--r--spec/install/gemfile/path_spec.rb3
-rw-r--r--spec/install/gemfile/platform_spec.rb3
-rw-r--r--spec/install/gems/compact_index_spec.rb50
-rw-r--r--spec/install/gems/dependency_api_spec.rb39
-rw-r--r--spec/install/gems/resolving_spec.rb3
-rw-r--r--spec/install/gems/standalone_spec.rb4
-rw-r--r--spec/install/gemspecs_spec.rb1
-rw-r--r--spec/install/git_spec.rb1
-rw-r--r--spec/install/global_cache_spec.rb4
13 files changed, 0 insertions, 120 deletions
diff --git a/spec/install/allow_offline_install_spec.rb b/spec/install/allow_offline_install_spec.rb
index 2662c12953..7103f17e50 100644
--- a/spec/install/allow_offline_install_spec.rb
+++ b/spec/install/allow_offline_install_spec.rb
@@ -7,7 +7,6 @@ RSpec.describe "bundle install with :allow_offline_install" do
context "with no cached data locally" do
it "still installs" do
- skip "corrupt test gem" if Gem.win_platform?
install_gemfile! <<-G, :artifice => "compact_index"
source "http://testgemserver.local"
@@ -28,7 +27,6 @@ RSpec.describe "bundle install with :allow_offline_install" do
context "with cached data locally" do
it "will install from the compact index" do
- skip "corrupt test gem" if Gem.win_platform?
system_gems ["rack-1.0.0"], :path => :bundle_path
@@ -74,7 +72,6 @@ RSpec.describe "bundle install with :allow_offline_install" do
end
it "will install from a cached git repo" do
- skip "doesn't print errors" if Gem.win_platform?
git = build_git "a", "1.0.0", :path => lib_path("a")
update_git("a", :path => git.path, :branch => "new_branch")
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb
index 5031bd9aa0..103ec69edd 100644
--- a/spec/install/deploy_spec.rb
+++ b/spec/install/deploy_spec.rb
@@ -64,7 +64,6 @@ RSpec.describe "install with --deployment or --frozen" do
end
it "works when you bundle exec bundle" do
- skip "doesn't find bundle" if Gem.win_platform?
bundle! :install
bundle "install --deployment"
@@ -84,7 +83,6 @@ RSpec.describe "install with --deployment or --frozen" do
end
it "works when there are credentials in the source URL" do
- skip "corrupt test gem" if Gem.win_platform?
install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true)
source "http://user:pass@localgemserver.test/"
diff --git a/spec/install/gemfile/gemspec_spec.rb b/spec/install/gemfile/gemspec_spec.rb
index b28d70a798..80b95419a1 100644
--- a/spec/install/gemfile/gemspec_spec.rb
+++ b/spec/install/gemfile/gemspec_spec.rb
@@ -331,7 +331,6 @@ RSpec.describe "bundle install from an existing gemspec" do
let(:platform) { "ruby" }
before do
- skip "not installing for some reason" if Gem.win_platform?
build_lib("foo", :path => tmp.join("foo")) do |s|
s.add_dependency "rack", "=1.0.0"
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb
index 067de1777d..b1f6109116 100644
--- a/spec/install/gemfile/git_spec.rb
+++ b/spec/install/gemfile/git_spec.rb
@@ -311,7 +311,6 @@ RSpec.describe "bundle install with git sources" do
context "when the branch starts with a `#`" do
let(:branch) { "#149/redirect-url-fragment" }
it "works" do
- skip "git does not accept this" if Gem.win_platform?
update_git("foo", :path => repo, :branch => branch)
@@ -328,7 +327,6 @@ RSpec.describe "bundle install with git sources" do
context "when the branch includes quotes" do
let(:branch) { %('") }
it "works" do
- skip "git does not accept this" if Gem.win_platform?
update_git("foo", :path => repo, :branch => branch)
@@ -362,7 +360,6 @@ RSpec.describe "bundle install with git sources" do
context "when the tag starts with a `#`" do
let(:tag) { "#149/redirect-url-fragment" }
it "works" do
- skip "git does not accept this" if Gem.win_platform?
update_git("foo", :path => repo, :tag => tag)
@@ -379,7 +376,6 @@ RSpec.describe "bundle install with git sources" do
context "when the tag includes quotes" do
let(:tag) { %('") }
it "works" do
- skip "git does not accept this" if Gem.win_platform?
update_git("foo", :path => repo, :tag => tag)
@@ -623,7 +619,6 @@ RSpec.describe "bundle install with git sources" do
end
it "installs dependencies from git even if a newer gem is available elsewhere" do
- skip "override is not winning" if Gem.win_platform?
system_gems "rack-1.0.0"
@@ -914,7 +909,6 @@ RSpec.describe "bundle install with git sources" do
end
it "prints a friendly error if a file blocks the git repo" do
- skip "drive letter is not detected correctly in error message" if Gem.win_platform?
build_git "foo"
diff --git a/spec/install/gemfile/path_spec.rb b/spec/install/gemfile/path_spec.rb
index a733c02512..e8e12a793e 100644
--- a/spec/install/gemfile/path_spec.rb
+++ b/spec/install/gemfile/path_spec.rb
@@ -59,7 +59,6 @@ RSpec.describe "bundle install with explicit source paths" do
end
it "expands paths raise error with not existing user's home dir" do
- skip "problems with ~ expansion" if Gem.win_platform?
build_lib "foo"
username = "some_unexisting_user"
@@ -136,7 +135,6 @@ RSpec.describe "bundle install with explicit source paths" do
end
it "installs dependencies from the path even if a newer gem is available elsewhere" do
- skip "override is not winning" if Gem.win_platform?
system_gems "rack-1.0.0"
@@ -637,7 +635,6 @@ RSpec.describe "bundle install with explicit source paths" do
describe "when there are both a gemspec and remote gems" do
it "doesn't query rubygems for local gemspec name" do
- skip "platform issues" if Gem.win_platform?
build_lib "private_lib", "2.2", :path => lib_path("private_lib")
gemfile = <<-G
diff --git a/spec/install/gemfile/platform_spec.rb b/spec/install/gemfile/platform_spec.rb
index 52e1cf86fa..396c6a6b29 100644
--- a/spec/install/gemfile/platform_spec.rb
+++ b/spec/install/gemfile/platform_spec.rb
@@ -274,7 +274,6 @@ end
RSpec.describe "bundle install with platform conditionals" do
it "installs gems tagged w/ the current platforms" do
- skip "platform issues" if Gem.win_platform?
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
@@ -301,7 +300,6 @@ RSpec.describe "bundle install with platform conditionals" do
end
it "installs gems tagged w/ the current platforms inline" do
- skip "platform issues" if Gem.win_platform?
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
@@ -321,7 +319,6 @@ RSpec.describe "bundle install with platform conditionals" do
end
it "installs gems tagged w/ the current platform inline" do
- skip "platform issues" if Gem.win_platform?
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
diff --git a/spec/install/gems/compact_index_spec.rb b/spec/install/gems/compact_index_spec.rb
index be6c01aee9..6b61394788 100644
--- a/spec/install/gems/compact_index_spec.rb
+++ b/spec/install/gems/compact_index_spec.rb
@@ -5,7 +5,6 @@ RSpec.describe "compact index api" do
let(:source_uri) { "http://#{source_hostname}" }
it "should use the API" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -28,7 +27,6 @@ RSpec.describe "compact index api" do
end
it "should handle nested dependencies" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -48,7 +46,6 @@ RSpec.describe "compact index api" do
end
it "should handle case sensitivity conflicts" do
- skip "artifice issues?" if Gem.win_platform?
build_repo4 do
build_gem "rack", "1.0" do |s|
@@ -70,7 +67,6 @@ RSpec.describe "compact index api" do
end
it "should handle multiple gem dependencies on the same gem" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -82,7 +78,6 @@ RSpec.describe "compact index api" do
end
it "should use the endpoint when using --deployment" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -96,7 +91,6 @@ RSpec.describe "compact index api" do
end
it "handles git dependencies that are in rubygems" do
- skip "artifice issues?" if Gem.win_platform?
build_git "foo" do |s|
s.executables = "foobar"
@@ -116,7 +110,6 @@ RSpec.describe "compact index api" do
end
it "handles git dependencies that are in rubygems using --deployment" do
- skip "artifice issues?" if Gem.win_platform?
build_git "foo" do |s|
s.executables = "foobar"
@@ -162,7 +155,6 @@ RSpec.describe "compact index api" do
end
it "falls back when the API URL returns 403 Forbidden" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -175,7 +167,6 @@ RSpec.describe "compact index api" do
end
it "falls back when the versions endpoint has a checksum mismatch" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -191,7 +182,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "falls back when the user's home directory does not exist or is not writable" do
- skip "artifice issues?" if Gem.win_platform?
ENV["HOME"] = tmp("missing_home").to_s
@@ -206,7 +196,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "handles host redirects" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -218,7 +207,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "handles host redirects without Net::HTTP::Persistent" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -244,7 +232,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "times out when Bundler::Fetcher redirects too much" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -257,7 +244,6 @@ The checksum of /versions does not match the checksum provided by the server! So
context "when --full-index is specified" do
before do
- skip "artifice issues?" if Gem.win_platform?
end
it "should use the modern index for install" do
@@ -300,7 +286,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "fetches again when more dependencies are found in subsequent sources", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -320,7 +305,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "fetches again when more dependencies are found in subsequent sources with source blocks" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -340,7 +324,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "fetches gem versions even when those gems are already installed" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -365,7 +348,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "considers all possible versions of dependencies from all api gem sources", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
# In this scenario, the gem "somegem" only exists in repo4. It depends on specific version of activesupport that
# exists only in repo1. There happens also be a version of activesupport in repo4, but not the one that version 1.0.0
@@ -391,7 +373,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "considers all possible versions of dependencies from all api gem sources when using blocks", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
# In this scenario, the gem "somegem" only exists in repo4. It depends on specific version of activesupport that
# exists only in repo1. There happens also be a version of activesupport in repo4, but not the one that version 1.0.0
@@ -418,7 +399,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "prints API output properly with back deps" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -441,7 +421,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "does not fetch every spec if the index of gems is large when doing back deps" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -468,7 +447,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "does not fetch every spec if the index of gems is large when doing back deps & everything is the compact index" do
- skip "artifice issues?" if Gem.win_platform?
build_repo4 do
build_gem "back_deps" do |s|
@@ -494,7 +472,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "uses the endpoint if all sources support it" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -507,7 +484,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "fetches again when more dependencies are found in subsequent sources using --deployment", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -529,7 +505,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "fetches again when more dependencies are found in subsequent sources using --deployment with blocks" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -552,7 +527,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "does not refetch if the only unmet dependency is bundler" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -577,7 +551,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "installs the binstubs", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -591,7 +564,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "installs the bins when using --path and uses autoclean", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -604,7 +576,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "installs the bins when using --path and uses bundle clean", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -617,7 +588,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "prints post_install_messages" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -629,7 +599,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "should display the post install message for a dependency" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -653,7 +622,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "passes basic authentication details and strips out creds" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -666,7 +634,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "strips http basic authentication creds for modern index" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -689,7 +656,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "strips http basic auth creds when warning about ambiguous sources", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -704,7 +670,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "does not pass the user / password to different hosts on redirect" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -724,7 +689,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "reads authentication details by host name from bundle config" do
- skip "artifice issues?" if Gem.win_platform?
bundle "config set #{source_hostname} #{user}:#{password}"
@@ -735,7 +699,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "reads authentication details by full url from bundle config" do
- skip "artifice issues?" if Gem.win_platform?
# The trailing slash is necessary here; Fetcher canonicalizes the URI.
bundle "config set #{source_uri}/ #{user}:#{password}"
@@ -747,7 +710,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "should use the API" do
- skip "artifice issues?" if Gem.win_platform?
bundle "config set #{source_hostname} #{user}:#{password}"
bundle! :install, :artifice => "compact_index_strict_basic_authentication"
@@ -756,7 +718,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "prefers auth supplied in the source uri" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -786,7 +747,6 @@ The checksum of /versions does not match the checksum provided by the server! So
let(:password) { nil }
it "passes basic authentication details" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -845,7 +805,6 @@ The checksum of /versions does not match the checksum provided by the server! So
context ".gemrc with sources is present" do
it "uses other sources declared in the Gemfile" do
- skip "artifice issues?" if Gem.win_platform?
File.open(home(".gemrc"), "w") do |file|
file.puts({ :sources => ["https://rubygems.org"] }.to_yaml)
@@ -867,7 +826,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "performs partial update with a non-empty range" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -890,7 +848,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "performs partial update while local cache is updated by another process" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -910,7 +867,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "performs full update of compact index info cache if range is not satisfiable" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -955,7 +911,6 @@ The checksum of /versions does not match the checksum provided by the server! So
describe "checksum validation" do
it "raises when the checksum does not match" do
- skip "artifice issues?" if Gem.win_platform?
install_gemfile <<-G, :artifice => "compact_index_wrong_gem_checksum"
source "#{source_uri}"
@@ -977,7 +932,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "raises when the checksum is the wrong length" do
- skip "artifice issues?" if Gem.win_platform?
install_gemfile <<-G, :artifice => "compact_index_wrong_gem_checksum", :env => { "BUNDLER_SPEC_RACK_CHECKSUM" => "checksum!" }
source "#{source_uri}"
@@ -988,7 +942,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "does not raise when disable_checksum_validation is set" do
- skip "artifice issues?" if Gem.win_platform?
bundle! "config set disable_checksum_validation true"
install_gemfile! <<-G, :artifice => "compact_index_wrong_gem_checksum"
@@ -999,7 +952,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "works when cache dir is world-writable" do
- skip "artifice issues?" if Gem.win_platform?
install_gemfile! <<-G, :artifice => "compact_index"
File.umask(0000)
@@ -1009,7 +961,6 @@ The checksum of /versions does not match the checksum provided by the server! So
end
it "doesn't explode when the API dependencies are wrong" do
- skip "artifice issues?" if Gem.win_platform?
install_gemfile <<-G, :artifice => "compact_index_wrong_dependencies", :env => { "DEBUG" => "true" }
source "#{source_uri}"
@@ -1027,7 +978,6 @@ Either installing with `--full-index` or running `bundle update rails` should fi
end
it "does not duplicate specs in the lockfile when updating and a dependency is not installed" do
- skip "artifice issues?" if Gem.win_platform?
install_gemfile! <<-G, :artifice => "compact_index"
source "#{source_uri}" do
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb
index 78cca5f8b7..9bdfd5a4ea 100644
--- a/spec/install/gems/dependency_api_spec.rb
+++ b/spec/install/gems/dependency_api_spec.rb
@@ -5,7 +5,6 @@ RSpec.describe "gemcutter's dependency API" do
let(:source_uri) { "http://#{source_hostname}" }
it "should use the API" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -28,7 +27,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "should handle nested dependencies" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -48,7 +46,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "should handle multiple gem dependencies on the same gem" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -60,7 +57,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "should use the endpoint when using --deployment" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -74,7 +70,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "handles git dependencies that are in rubygems" do
- skip "artifice issues?" if Gem.win_platform?
build_git "foo" do |s|
s.executables = "foobar"
@@ -94,7 +89,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "handles git dependencies that are in rubygems using --deployment" do
- skip "artifice issues?" if Gem.win_platform?
build_git "foo" do |s|
s.executables = "foobar"
@@ -140,7 +134,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "falls back when hitting the Gemcutter Dependency Limit" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -168,7 +161,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "falls back when Gemcutter API doesn't return proper Marshal format" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -181,7 +173,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "falls back when the API URL returns 403 Forbidden" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -194,7 +185,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "handles host redirects" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -206,7 +196,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "handles host redirects without Net::HTTP::Persistent" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -232,7 +221,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "timeouts when Bundler::Fetcher redirects too much" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -245,7 +233,6 @@ RSpec.describe "gemcutter's dependency API" do
context "when --full-index is specified" do
before do
- skip "artifice issues?" if Gem.win_platform?
end
it "should use the modern index for install" do
@@ -272,7 +259,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "fetches again when more dependencies are found in subsequent sources", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -292,7 +278,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "fetches again when more dependencies are found in subsequent sources using blocks" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -313,7 +298,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "fetches gem versions even when those gems are already installed" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -337,7 +321,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "considers all possible versions of dependencies from all api gem sources", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
# In this scenario, the gem "somegem" only exists in repo4. It depends on specific version of activesupport that
# exists only in repo1. There happens also be a version of activesupport in repo4, but not the one that version 1.0.0
@@ -363,7 +346,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "considers all possible versions of dependencies from all api gem sources using blocks" do
- skip "artifice issues?" if Gem.win_platform?
# In this scenario, the gem "somegem" only exists in repo4. It depends on specific version of activesupport that
# exists only in repo1. There happens also be a version of activesupport in repo4, but not the one that version 1.0.0
@@ -390,7 +372,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "prints API output properly with back deps" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -413,7 +394,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "does not fetch every spec if the index of gems is large when doing back deps", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -439,7 +419,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "does not fetch every spec if the index of gems is large when doing back deps using blocks" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -466,7 +445,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "uses the endpoint if all sources support it" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -479,7 +457,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "fetches again when more dependencies are found in subsequent sources using --deployment", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -501,7 +478,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "fetches again when more dependencies are found in subsequent sources using --deployment with blocks" do
- skip "artifice issues?" if Gem.win_platform?
build_repo2 do
build_gem "back_deps" do |s|
@@ -547,7 +523,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "installs the binstubs", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -561,7 +536,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "installs the bins when using --path and uses autoclean", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -574,7 +548,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "installs the bins when using --path and uses bundle clean", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -587,7 +560,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "prints post_install_messages" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -599,7 +571,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "should display the post install message for a dependency" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -623,7 +594,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "passes basic authentication details and strips out creds" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -636,7 +606,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "strips http basic authentication creds for modern index" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -659,7 +628,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "strips http basic auth creds when warning about ambiguous sources", :bundler => "< 3" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -674,7 +642,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "does not pass the user / password to different hosts on redirect" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -694,7 +661,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "reads authentication details by host name from bundle config" do
- skip "artifice issues?" if Gem.win_platform?
bundle "config set #{source_hostname} #{user}:#{password}"
@@ -705,7 +671,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "reads authentication details by full url from bundle config" do
- skip "artifice issues?" if Gem.win_platform?
# The trailing slash is necessary here; Fetcher canonicalizes the URI.
bundle "config set #{source_uri}/ #{user}:#{password}"
@@ -717,7 +682,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "should use the API" do
- skip "artifice issues?" if Gem.win_platform?
bundle "config set #{source_hostname} #{user}:#{password}"
bundle :install, :artifice => "endpoint_strict_basic_authentication"
@@ -726,7 +690,6 @@ RSpec.describe "gemcutter's dependency API" do
end
it "prefers auth supplied in the source uri" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -756,7 +719,6 @@ RSpec.describe "gemcutter's dependency API" do
let(:password) { nil }
it "passes basic authentication details" do
- skip "artifice issues?" if Gem.win_platform?
gemfile <<-G
source "#{basic_auth_source_uri}"
@@ -815,7 +777,6 @@ RSpec.describe "gemcutter's dependency API" do
context ".gemrc with sources is present" do
it "uses other sources declared in the Gemfile" do
- skip "artifice issues?" if Gem.win_platform?
File.open(home(".gemrc"), "w") do |file|
file.puts({ :sources => ["https://rubygems.org"] }.to_yaml)
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb
index 323b28fdb1..131778e260 100644
--- a/spec/install/gems/resolving_spec.rb
+++ b/spec/install/gems/resolving_spec.rb
@@ -19,7 +19,6 @@ RSpec.describe "bundle install with install-time dependencies" do
end
it "installs gems with a dependency with no type" do
- skip "incorrect data check error" if Gem.win_platform?
build_repo2
@@ -118,7 +117,6 @@ RSpec.describe "bundle install with install-time dependencies" do
describe "when a required ruby version" do
context "allows only an older version" do
before do
- skip "gem not found" if Gem.win_platform?
end
it "installs the older version" do
@@ -205,7 +203,6 @@ RSpec.describe "bundle install with install-time dependencies" do
shared_examples_for "ruby version conflicts" do
it "raises an error during resolution" do
- skip "ruby requirement includes platform and it shouldn't" if Gem.win_platform?
install_gemfile <<-G, :artifice => "compact_index", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo2.to_s }
source "http://localgemserver.test/"
diff --git a/spec/install/gems/standalone_spec.rb b/spec/install/gems/standalone_spec.rb
index c7c9d2a6a9..1e6ce9f082 100644
--- a/spec/install/gems/standalone_spec.rb
+++ b/spec/install/gems/standalone_spec.rb
@@ -226,7 +226,6 @@ RSpec.shared_examples "bundle install --standalone" do
describe "simple gems" do
before do
- skip "artifice issues maybe" if Gem.win_platform?
gemfile <<-G
source "#{source_uri}"
@@ -265,13 +264,11 @@ RSpec.shared_examples "bundle install --standalone" do
include_examples "common functionality"
it "creates stubs that use the standalone load path" do
- skip "exec format error" if Gem.win_platform?
expect(sys_exec("bin/rails -v").chomp).to eql "2.3.2"
end
it "creates stubs that can be executed from anywhere" do
- skip "exec format error" if Gem.win_platform?
require "tmpdir"
sys_exec!(%(#{bundled_app("bin/rails")} -v), :dir => Dir.tmpdir)
@@ -279,7 +276,6 @@ RSpec.shared_examples "bundle install --standalone" do
end
it "creates stubs that can be symlinked" do
- skip "symlinks unsupported" if Gem.win_platform?
symlink_dir = tmp("symlink")
FileUtils.mkdir_p(symlink_dir)
diff --git a/spec/install/gemspecs_spec.rb b/spec/install/gemspecs_spec.rb
index 048987af9b..37bcdefb74 100644
--- a/spec/install/gemspecs_spec.rb
+++ b/spec/install/gemspecs_spec.rb
@@ -28,7 +28,6 @@ RSpec.describe "bundle install" do
end
it "should use gemspecs in the system cache when available" do
- skip "weird incompatible marshal file format error" if Gem.win_platform?
gemfile <<-G
source "http://localtestserver.gem"
diff --git a/spec/install/git_spec.rb b/spec/install/git_spec.rb
index 1b32991fa8..7cc004ae7c 100644
--- a/spec/install/git_spec.rb
+++ b/spec/install/git_spec.rb
@@ -14,7 +14,6 @@ RSpec.describe "bundle install" do
end
it "displays the ref of the gem repository when using branch~num as a ref", :bundler => "< 3" do
- skip "maybe branch~num notation doesn't work on Windows' git" if Gem.win_platform?
build_git "foo", "1.0", :path => lib_path("foo")
rev = revision_for(lib_path("foo"))[0..6]
diff --git a/spec/install/global_cache_spec.rb b/spec/install/global_cache_spec.rb
index 15987bdf53..a57e76eb94 100644
--- a/spec/install/global_cache_spec.rb
+++ b/spec/install/global_cache_spec.rb
@@ -16,7 +16,6 @@ RSpec.describe "global gem caching" do
end
it "caches gems into the global cache on download" do
- skip "corrupt test gem" if Gem.win_platform?
install_gemfile! <<-G, :artifice => "compact_index"
source "#{source}"
@@ -41,7 +40,6 @@ RSpec.describe "global gem caching" do
describe "when the same gem from different sources is installed" do
before do
- skip "corrupt test gem" if Gem.win_platform?
end
it "should use the appropriate one from the global cache" do
@@ -140,7 +138,6 @@ RSpec.describe "global gem caching" do
describe "when installing gems from a different directory" do
it "uses the global cache as a source" do
- skip "corrupt test gem" if Gem.win_platform?
install_gemfile! <<-G, :artifice => "compact_index"
source "#{source}"
@@ -195,7 +192,6 @@ RSpec.describe "global gem caching" do
describe "extension caching", :ruby_repo do
it "works" do
- skip "gets incorrect ref in path" if Gem.win_platform?
build_git "very_simple_git_binary", &:add_c_extension
build_lib "very_simple_path_binary", &:add_c_extension