Skip to content

Commit 9a89027

Browse files
Merge pull request #94 from puppetlabs/maint-revert_rubocop_fixes
Revert "(maint) - fix rubocop" - Leading argument with delegation syntax not supported with ruby 2.7.0
2 parents e114a11 + e6f0f64 commit 9a89027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec-puppet/matchers/dynamic_matchers.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def method_missing(method, *args, &block)
2626
end
2727

2828
module TypeMatchers
29-
def method_missing(method, ...)
30-
return RSpec::Puppet::TypeMatchers::CreateGeneric.new(method, ...) if method == :be_valid_type
29+
def method_missing(method, *args, &block)
30+
return RSpec::Puppet::TypeMatchers::CreateGeneric.new(method, *args, &block) if method == :be_valid_type
3131

3232
super
3333
end

0 commit comments

Comments
 (0)