diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-06 18:22:24 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-06 18:22:24 +0100 |
commit | 1e6ae6bc5eff12e43b909940eb7b95e9598c2dc4 (patch) | |
tree | 7b80ad0419b97292871a60c24f28ad57fceb171d | |
parent | 3eabc1ca06e39e455469adf72e5d57e292dd08fc (diff) | |
download | bundler-undo_some_unskips.tar.gz |
Revert "I don't think we need this now"undo_some_unskips
This reverts commit 36816866581147ba7bd491a2a658ac35a2f03afe.
-rw-r--r-- | spec/bundler/source_spec.rb | 6 | ||||
-rw-r--r-- | spec/support/filters.rb | 1 |
2 files changed, 4 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 diff --git a/spec/support/filters.rb b/spec/support/filters.rb index 2c4c032ea3..4ce6648cdc 100644 --- a/spec/support/filters.rb +++ b/spec/support/filters.rb @@ -39,6 +39,7 @@ 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 |