summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-30 16:11:19 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-31 12:03:51 +0100
commit36816866581147ba7bd491a2a658ac35a2f03afe (patch)
tree35640ce88472d5f2fe93e121303fa87a1c9fbfd1
parentec189b70775007c58b1e52c1852db0fe25dfc31a (diff)
downloadbundler-36816866581147ba7bd491a2a658ac35a2f03afe.tar.gz
I don't think we need this now
-rw-r--r--spec/bundler/source_spec.rb6
-rw-r--r--spec/support/filters.rb1
2 files changed, 3 insertions, 4 deletions
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
diff --git a/spec/support/filters.rb b/spec/support/filters.rb
index 4ce6648cdc..2c4c032ea3 100644
--- a/spec/support/filters.rb
+++ b/spec/support/filters.rb
@@ -39,7 +39,6 @@ RSpec.configure do |config|
config.filter_run_excluding :git => RequirementChecker.against(git_version)
config.filter_run_excluding :bundler => RequirementChecker.against(Bundler::VERSION.split(".")[0])
config.filter_run_excluding :ruby_repo => !ENV["GEM_COMMAND"].nil?
- config.filter_run_excluding :no_color_tty => Gem.win_platform? || !ENV["GITHUB_ACTION"].nil?
config.filter_run_when_matching :focus unless ENV["CI"]
end