From 214e992556bffa1443e024e63385c5c76ac2f15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 24 May 2019 20:30:43 +0200 Subject: [bundler/bundler] Be explicit about coloring in specs that need that https://github.com/bundler/bundler/commit/a4d04506ab --- spec/bundler/bundler/source_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/bundler/bundler') diff --git a/spec/bundler/bundler/source_spec.rb b/spec/bundler/bundler/source_spec.rb index 9ef8e7e50f..a39099a446 100644 --- a/spec/bundler/bundler/source_spec.rb +++ b/spec/bundler/bundler/source_spec.rb @@ -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 -- cgit v1.2.3