summaryrefslogtreecommitdiff
path: root/spec/bundler/bundler/source_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-12 08:23:27 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-12 12:14:39 +0900
commit8a8f680f017d0d4c410f17ec74e06d0436dcbe83 (patch)
tree600db3976fe2edc9cee4499ab981d0f0ab5f7760 /spec/bundler/bundler/source_spec.rb
parente96321d006f822766bb4be969028f68096d76b39 (diff)
Re-use GITHUB_ACTION variables for filtering bundler examples.
Diffstat (limited to 'spec/bundler/bundler/source_spec.rb')
-rw-r--r--spec/bundler/bundler/source_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/bundler/source_spec.rb b/spec/bundler/bundler/source_spec.rb
index 9ae6b3e3eb..46d86937da 100644
--- a/spec/bundler/bundler/source_spec.rb
+++ b/spec/bundler/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", :non_windows do
+ context "with color", :no_color_tty do
before { Bundler.ui = Bundler::UI::Shell.new }
it "should return a string with the spec name and version and locked spec version" do
@@ -77,7 +77,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", :non_windows do
+ context "with color", :no_color_tty do
before { Bundler.ui = Bundler::UI::Shell.new }
it "should return a string with the locked spec version in yellow" do
@@ -98,7 +98,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", :non_windows do
+ context "with color", :no_color_tty do
before { Bundler.ui = Bundler::UI::Shell.new }
it "should return a string with the locked spec version in green" do