Skip to content

Commit

Permalink
Merge pull request #94 from puppetlabs/maint-revert_rubocop_fixes
Browse files Browse the repository at this point in the history
Revert "(maint) - fix rubocop" - Leading argument with delegation syntax not supported with ruby 2.7.0
  • Loading branch information
gavindidrichsen authored Dec 5, 2023
2 parents e114a11 + e6f0f64 commit 9a89027
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, ...)
return RSpec::Puppet::TypeMatchers::CreateGeneric.new(method, ...) if method == :be_valid_type
def method_missing(method, *args, &block)
return RSpec::Puppet::TypeMatchers::CreateGeneric.new(method, *args, &block) if method == :be_valid_type

super
end
Expand Down

0 comments on commit 9a89027

Please sign in to comment.