diff options
Diffstat (limited to 'spec/lock/lockfile_spec.rb')
-rw-r--r-- | spec/lock/lockfile_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb index ddab4831a5..0f5a0c6e52 100644 --- a/spec/lock/lockfile_spec.rb +++ b/spec/lock/lockfile_spec.rb @@ -303,6 +303,8 @@ RSpec.describe "the lockfile format" do end it "generates a lockfile without credentials for a configured source", :bundler => "< 3" do + skip "corrupt test gem" if Gem.win_platform? + bundle "config set http://localgemserver.test/ user:pass" install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true) @@ -1403,6 +1405,8 @@ RSpec.describe "the lockfile format" do end it "preserves Gemfile.lock \\n\\r line endings" do + skip "needs to be adapted" if Gem.win_platform? + update_repo2 win_lock = File.read(bundled_app("Gemfile.lock")).gsub(/\n/, "\r\n") File.open(bundled_app("Gemfile.lock"), "wb") {|f| f.puts(win_lock) } |