mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
f04954d95c
commit
39c36a5cf4
1 changed files with 1 additions and 3 deletions
|
@ -101,8 +101,6 @@ RSpec.describe "bundle install with install-time dependencies" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "installs gems with a dependency with no type" do
|
it "installs gems with a dependency with no type" do
|
||||||
skip "incorrect data check error" if Gem.win_platform?
|
|
||||||
|
|
||||||
build_repo2
|
build_repo2
|
||||||
|
|
||||||
path = "#{gem_repo2}/#{Gem::MARSHAL_SPEC_DIR}/actionpack-2.3.2.gemspec.rz"
|
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|
|
spec.dependencies.each do |d|
|
||||||
d.instance_variable_set(:@type, :fail)
|
d.instance_variable_set(:@type, :fail)
|
||||||
end
|
end
|
||||||
File.open(path, "w") do |f|
|
File.open(path, "wb") do |f|
|
||||||
f.write Gem.deflate(Marshal.dump(spec))
|
f.write Gem.deflate(Marshal.dump(spec))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue