From 36816866581147ba7bd491a2a658ac35a2f03afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 30 Oct 2019 16:11:19 +0100 Subject: I don't think we need this now --- spec/bundler/source_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/bundler/source_spec.rb') diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb index 0c35c27fdf..a687d8a565 100644 --- a/spec/bundler/source_spec.rb +++ b/spec/bundler/source_spec.rb @@ -56,7 +56,7 @@ RSpec.describe Bundler::Source do context "with a different version" do let(:locked_gem) { double(:locked_gem, :name => "nokogiri", :version => "< 1.5") } - context "with color", :no_color_tty do + context "with color" do before do allow($stdout).to receive(:tty?).and_return(true) end @@ -83,7 +83,7 @@ RSpec.describe Bundler::Source do let(:spec) { double(:spec, :name => "nokogiri", :version => "1.6.1", :platform => rb) } let(:locked_gem) { double(:locked_gem, :name => "nokogiri", :version => "1.7.0") } - context "with color", :no_color_tty do + context "with color" do before do allow($stdout).to receive(:tty?).and_return(true) end @@ -110,7 +110,7 @@ RSpec.describe Bundler::Source do let(:spec) { double(:spec, :name => "nokogiri", :version => "1.7.1", :platform => rb) } let(:locked_gem) { double(:locked_gem, :name => "nokogiri", :version => "1.7.0") } - context "with color", :no_color_tty do + context "with color" do before do allow($stdout).to receive(:tty?).and_return(true) end -- cgit v1.2.1