summaryrefslogtreecommitdiff
path: root/spec/bundler/source_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/source_spec.rb')
-rw-r--r--spec/bundler/source_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb
index a687d8a565..0c35c27fdf 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" do
+ context "with color", :no_color_tty 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" do
+ context "with color", :no_color_tty 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" do
+ context "with color", :no_color_tty do
before do
allow($stdout).to receive(:tty?).and_return(true)
end