diff options
author | Colby Swandale <me@colby.fyi> | 2019-02-21 23:21:41 +1100 |
---|---|---|
committer | Colby Swandale <me@colby.fyi> | 2019-02-21 23:25:58 +1100 |
commit | 26e1986269d4ba4aad5d05f1b93e932d97928d70 (patch) | |
tree | a7b2779c06c2a799a666598cbc6e7c9eedc86af4 | |
parent | 6ce532267500a13cb855021fad93920e9f940baa (diff) | |
download | bundler-colby/testing.tar.gz |
test ttycolby/testing
-rw-r--r-- | spec/bundler/source_spec.rb | 5 |
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 |