Skip to content

Commit 373eacb

Browse files
hsbtmatzbot
authored andcommitted
[ruby/rubygems] Skip Windows group warning for realworld specs
ruby/rubygems@98a355dcfb
1 parent 3251792 commit 373eacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/bundler/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def self.ruby=(ruby)
142142

143143
config.before(:context) do |example|
144144
metadata = example.class.metadata
145-
if metadata[:type] != :aruba && metadata.keys.none? {|k| Spec::WindowsTagGroup::EXAMPLE_MAPPINGS.keys.include?(k) }
145+
if metadata[:type] != :aruba && !metadata[:realworld] && metadata.keys.none? {|k| Spec::WindowsTagGroup::EXAMPLE_MAPPINGS.keys.include?(k) }
146146
warn "#{metadata[:file_path]} is not assigned to any Windows runner group. see spec/support/windows_tag_group.rb for details."
147147
end
148148
end unless Spec::Path.ruby_core?

0 commit comments

Comments
 (0)