summaryrefslogtreecommitdiff
path: root/spec/bundler/other
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 13:01:33 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:59 +0900
commit9d82962af3bc1c308ae0c2530b9fb162da825da2 (patch)
treeb43ff6fc691d6754b4d49fb40cd9d48a7741922c /spec/bundler/other
parentbb50f87b69049d80117d40e194e91cb650a94f64 (diff)
[bundler/bundler] Check for generic lockfiles
https://github.com/bundler/bundler/commit/344a881592
Diffstat (limited to 'spec/bundler/other')
-rw-r--r--spec/bundler/other/platform_spec.rb4
1 files changed, 1 insertions, 3 deletions
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