Skip to content

Commit

Permalink
(maint) - fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Jul 27, 2023
1 parent 3288927 commit a16dc28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rspec-puppet/matchers/dynamic_matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def method_missing(method, *args, &block)
end

module TypeMatchers
def method_missing(method, *args, &block)
return RSpec::Puppet::TypeMatchers::CreateGeneric.new(method, *args, &block) if method == :be_valid_type
def method_missing(method, ...)
return RSpec::Puppet::TypeMatchers::CreateGeneric.new(method, ...) if method == :be_valid_type

super
end
Expand Down

0 comments on commit a16dc28

Please sign in to comment.