diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-21 12:40:39 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-05 13:19:05 +0200 |
commit | 143f87e9104cfcfe4fb90c80c7171bdbdb2ec038 (patch) | |
tree | 96b8e98d8ded37fed47c1da72f23b61b4fff4906 | |
parent | 3494269b35a9d9d6580eb978663d6156c297bf4d (diff) | |
download | bundler-143f87e9104cfcfe4fb90c80c7171bdbdb2ec038.tar.gz |
Simplify some spec descriptions
-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 503ba5784a..9c5228b5c3 100644 --- a/spec/other/major_deprecation_spec.rb +++ b/spec/other/major_deprecation_spec.rb @@ -260,7 +260,7 @@ RSpec.describe "major deprecations" do end end - context "when bundle install is run" do + context "bundle install with both gems.rb and Gemfile present" do it "should not warn about gems.rb" do create_file "gems.rb", <<-G source "file://#{gem_repo1}" @@ -271,7 +271,7 @@ RSpec.describe "major deprecations" do expect(deprecations).to be_empty end - it "should print a proper warning when both gems.rb and Gemfile present, and use Gemfile", :bundler => "< 2" do + it "should print a proper warning, and use Gemfile", :bundler => "< 2" do create_file "gems.rb" install_gemfile! <<-G source "file://#{gem_repo1}" @@ -285,7 +285,7 @@ RSpec.describe "major deprecations" do expect(the_bundle).to include_gem "rack 1.0" end - it "should print a proper warning when both gems.rb and Gemfile present, and use gems.rb", :bundler => "2" do + it "should print a proper warning, and use gems.rb", :bundler => "2" do create_file "gems.rb" install_gemfile! <<-G source "file://#{gem_repo1}" |