diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-26 22:31:18 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-28 16:41:22 +0100 |
commit | 3b24acce0fa2f3fa1e6330acb47bbce13697321a (patch) | |
tree | 0b5478063c01331261aacdaa1c8309d82d472d24 | |
parent | 9c0701d5f3d6728f9b6a1c26827e12f2e1c0d80c (diff) | |
download | bundler-3b24acce0fa2f3fa1e6330acb47bbce13697321a.tar.gz |
Make sure deprecation specs run on bundler 2
And skip the rest of the broken ones.
-rw-r--r-- | spec/other/major_deprecation_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb index 2aab4d07e9..f01f313faa 100644 --- a/spec/other/major_deprecation_spec.rb +++ b/spec/other/major_deprecation_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true -RSpec.describe "major deprecations", :bundler => "< 2" do - let(:warnings) { last_command.bundler_err } # change to err in 2.0 +RSpec.describe "major deprecations" do + let(:warnings) { err } let(:warnings_without_version_messages) { warnings.gsub(/#{Spec::Matchers::MAJOR_DEPRECATION}Bundler will only support ruby >= .*/, "") } before do @@ -143,7 +143,7 @@ RSpec.describe "major deprecations", :bundler => "< 2" do end end - describe Bundler::Dsl do + xdescribe Bundler::Dsl do before do @rubygems = double("rubygems") allow(Bundler::Source::Rubygems).to receive(:new) { @rubygems } |