summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/source_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb
index 9ef8e7e50f..66abda48f3 100644
--- a/spec/bundler/source_spec.rb
+++ b/spec/bundler/source_spec.rb
@@ -59,6 +59,11 @@ RSpec.describe Bundler::Source do
context "with color" do
before { Bundler.ui = Bundler::UI::Shell.new }
+ puts "#" * 30
+ puts "shell: #{Thor::Base.shell.new.inspect}"
+ puts "stdout: #{$stdout.tty?}"
+ puts "#" * 30
+
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\e[32m (was < 1.5)\e[0m")
end