1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Be explicit about coloring in specs that need that

https://github.com/bundler/bundler/commit/a4d04506ab
This commit is contained in:
David Rodríguez 2019-05-24 20:30:43 +02:00 committed by Hiroshi SHIBATA
parent 580e165873
commit 214e992556
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -65,6 +65,8 @@ RSpec.describe Bundler::Source do
end
context "without color" do
before { Bundler.ui = Bundler::UI::Shell.new("no-color" => true) }
it "should return a string with the spec name and version and locked spec version" do
expect(subject.version_message(spec)).to eq("nokogiri >= 1.6 (was < 1.5)")
end