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:
parent
580e165873
commit
214e992556
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue