diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 13:01:33 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 16:57:29 +0200 |
commit | 344a8815920120c1149a9a59fe57457f3a974b41 (patch) | |
tree | 2796df311cd32cfd2e5f68961c861f146309f412 | |
parent | 2a44090cb6bcc6d7d3d7e06da93bdbef0d3b8eec (diff) | |
download | bundler-344a8815920120c1149a9a59fe57457f3a974b41.tar.gz |
Check for generic lockfiles
-rw-r--r-- | spec/bundler/definition_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/platform_spec.rb | 4 | ||||
-rw-r--r-- | spec/update/git_spec.rb | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/spec/bundler/definition_spec.rb b/spec/bundler/definition_spec.rb index 8736fef060..57222f8af5 100644 --- a/spec/bundler/definition_spec.rb +++ b/spec/bundler/definition_spec.rb @@ -62,7 +62,7 @@ RSpec.describe Bundler::Definition do rack (1.0.0) PLATFORMS - ruby + #{lockfile_platforms} DEPENDENCIES foo! diff --git a/spec/other/platform_spec.rb b/spec/other/platform_spec.rb index 4e50dd2a76..b61a3f1b03 100644 --- a/spec/other/platform_spec.rb +++ b/spec/other/platform_spec.rb @@ -3,9 +3,7 @@ RSpec.describe "bundle platform" do context "without flags" do let(:bundle_platform_platforms_string) do - platforms = [rb] - platforms.unshift(specific_local_platform) if Bundler.feature_flag.bundler_3_mode? - platforms.map {|pl| "* #{pl}" }.join("\n") + local_platforms.reverse.map {|pl| "* #{pl}" }.join("\n") end it "returns all the output" do diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb index 1fc3076368..752033c842 100644 --- a/spec/update/git_spec.rb +++ b/spec/update/git_spec.rb @@ -324,7 +324,7 @@ RSpec.describe "bundle update" do rack (1.0.0) PLATFORMS - ruby + #{lockfile_platforms} DEPENDENCIES foo! |