From 45afa28174b50158516e02b2e4d2979bc1dcc3e9 Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Fri, 22 Feb 2019 22:13:54 +1100 Subject: test colors --- .travis.yml | 8 -------- spec/bundler/source_spec.rb | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index ac235db104..1dfc1b547c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,6 @@ before_script: - travis_retry rake man:build - travis_retry rake spec:rubygems:clone_rubygems_$RGV -branches: - only: - - master - - staging - - trying - - /.+-dev$/ - - /.+-stable$/ - notifications: slack: on_success: change diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb index 9ef8e7e50f..032a06ccc6 100644 --- a/spec/bundler/source_spec.rb +++ b/spec/bundler/source_spec.rb @@ -60,6 +60,10 @@ RSpec.describe Bundler::Source do before { Bundler.ui = Bundler::UI::Shell.new } it "should return a string with the spec name and version and locked spec version" do + puts "#" * 30 + puts "stdout: #{$stdout.inspect}" + puts "tty: #{$stdout.tty?}" + puts "#" * 30 expect(subject.version_message(spec)).to eq("nokogiri >= 1.6\e[32m (was < 1.5)\e[0m") end end -- cgit v1.2.1