diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-24 20:30:43 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-24 20:30:43 +0200 |
commit | a4d04506ab0bbdcc0f214afd2eebbb09bea18b9c (patch) | |
tree | 8a9e6544617ded7316df5e2fc7de4843a861e986 | |
parent | 786b5d9894f21e6e0e7355a64a6aa47121359bf3 (diff) | |
download | bundler-a4d04506ab0bbdcc0f214afd2eebbb09bea18b9c.tar.gz |
Be explicit about coloring in specs that need that
-rw-r--r-- | spec/bundler/source_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb index 9ef8e7e50f..a39099a446 100644 --- a/spec/bundler/source_spec.rb +++ b/spec/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 |