зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Fix skipped spec on Windows
https://github.com/rubygems/rubygems/commit/bf0f4b98ee
This commit is contained in:
Родитель
f04954d95c
Коммит
39c36a5cf4
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче