Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
I don't think we need this now
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Oct 31, 2019
1 parent ec189b7 commit 3681686
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions spec/bundler/source_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ExampleSource < Bundler::Source
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
Expand All @@ -83,7 +83,7 @@ class ExampleSource < Bundler::Source
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
Expand All @@ -110,7 +110,7 @@ class ExampleSource < Bundler::Source
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
Expand Down
1 change: 0 additions & 1 deletion spec/support/filters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def inspect
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

0 comments on commit 3681686

Please sign in to comment.