diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/bundler/definition_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/other/platform_spec.rb | 4 | ||||
-rw-r--r-- | spec/bundler/update/git_spec.rb | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/spec/bundler/bundler/definition_spec.rb b/spec/bundler/bundler/definition_spec.rb index 8736fef060..57222f8af5 100644 --- a/spec/bundler/bundler/definition_spec.rb +++ b/spec/bundler/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/bundler/other/platform_spec.rb b/spec/bundler/other/platform_spec.rb index 4e50dd2a76..b61a3f1b03 100644 --- a/spec/bundler/other/platform_spec.rb +++ b/spec/bundler/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/bundler/update/git_spec.rb b/spec/bundler/update/git_spec.rb index 1fc3076368..752033c842 100644 --- a/spec/bundler/update/git_spec.rb +++ b/spec/bundler/update/git_spec.rb @@ -324,7 +324,7 @@ RSpec.describe "bundle update" do rack (1.0.0) PLATFORMS - ruby + #{lockfile_platforms} DEPENDENCIES foo! |