Skip to content

Commit

Permalink
(MAINT) Fixup package tests for unexpected key in .sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
scotje committed Nov 14, 2019
1 parent f5fdf1a commit dfd3dd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package-testing/spec/package/update_module_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
sync_yaml = YAML.safe_load(open("https://raw.githubusercontent.com/#{mod}/master/.sync.yml").read)

sync_yaml['Gemfile'].each_key do |gem_type|
next unless sync_yaml['Gemfile'][gem_type].respond_to?(:each_key)

sync_yaml['Gemfile'][gem_type].each_key do |group|
sync_yaml['Gemfile'][gem_type][group].select! do |gem|
gem['gem'] =~ %r{\Apuppet-module-(?:posix|win)-system}
Expand Down

0 comments on commit dfd3dd1

Please sign in to comment.