diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-01-17 20:46:49 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-01-19 11:20:36 +0900 |
commit | 39c36a5cf45fc6a779b88c22571075da45cb70e4 (patch) | |
tree | de7ba2f14d97486324411b81321518402796ed0a /spec/bundler | |
parent | f04954d95c8a729d70be1c883617534a2e7cc239 (diff) | |
download | ruby-39c36a5cf45fc6a779b88c22571075da45cb70e4.tar.gz |
[rubygems/rubygems] Fix skipped spec on Windows
https://github.com/rubygems/rubygems/commit/bf0f4b98ee
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/install/gems/resolving_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/bundler/install/gems/resolving_spec.rb b/spec/bundler/install/gems/resolving_spec.rb index 94fac0052c..4cf57f439e 100644 --- a/spec/bundler/install/gems/resolving_spec.rb +++ b/spec/bundler/install/gems/resolving_spec.rb @@ -101,8 +101,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 path = "#{gem_repo2}/#{Gem::MARSHAL_SPEC_DIR}/actionpack-2.3.2.gemspec.rz" @@ -110,7 +108,7 @@ RSpec.describe "bundle install with install-time dependencies" do spec.dependencies.each do |d| d.instance_variable_set(:@type, :fail) end - File.open(path, "w") do |f| + File.open(path, "wb") do |f| f.write Gem.deflate(Marshal.dump(spec)) end |