summaryrefslogtreecommitdiff
path: root/spec/commands/outdated_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-01 12:47:22 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-12 16:46:30 +0200
commita4d2ff44a9ad7797d771ce49a3cde8a041cb02a8 (patch)
tree5057670587eae00bcdca92b5493300f966de3aa5 /spec/commands/outdated_spec.rb
parent43b4c56a64931a3b64eecbfc866404ac3c5ef883 (diff)
downloadbundler-a4d2ff44a9ad7797d771ce49a3cde8a041cb02a8.tar.gz
Tighten some expectations
Diffstat (limited to 'spec/commands/outdated_spec.rb')
-rw-r--r--spec/commands/outdated_spec.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/commands/outdated_spec.rb b/spec/commands/outdated_spec.rb
index 6bba399247..21e60b74ac 100644
--- a/spec/commands/outdated_spec.rb
+++ b/spec/commands/outdated_spec.rb
@@ -192,7 +192,7 @@ RSpec.describe "bundle outdated" do
it "not outdated gems" do
bundle "outdated --groups"
- expect(out).to include("Bundle up to date!")
+ expect(out).to end_with("Bundle up to date!")
end
it "returns a sorted list of outdated gems by groups" do
@@ -299,7 +299,8 @@ RSpec.describe "bundle outdated" do
end
bundle "outdated"
- expect(out).not_to include("activesupport (3.0.0.beta > 2.3.5)")
+
+ expect(out).to end_with("Bundle up to date!")
end
end
@@ -354,7 +355,7 @@ RSpec.describe "bundle outdated" do
bundle :outdated, filter_strict_option => true
- expect(out).to_not include("rack (1.2")
+ expect(out).to end_with("Bundle up to date!")
end
describe "and filter options" do
@@ -493,7 +494,7 @@ RSpec.describe "bundle outdated" do
it "reports that no updates are available" do
bundle "outdated"
- expect(out).to include("Bundle up to date!")
+ expect(out).to end_with("Bundle up to date!")
end
end
@@ -505,7 +506,7 @@ RSpec.describe "bundle outdated" do
G
bundle "outdated"
- expect(out).to include("Bundle up to date!")
+ expect(out).to end_with("Bundle up to date!")
end
it "reports that updates are available if the JRuby platform is used" do