lib/strictly_fake.rb in strictly_fake-0.1.3 vs lib/strictly_fake.rb in strictly_fake-0.1.4

- old
+ new

@@ -38,16 +38,14 @@ assert_method_signature_match(meth, expected_parameters, actual_parameters) stub_method(meth, &block) end - # rubocop:disable Lint/MissingSuper - def method_missing(meth, *args, &block) - @fake.send(meth, *args, &block) + def method_missing(meth, *args, **kwargs, &block) + @fake.send(meth, *args, **kwargs, &block) end - # rubocop:enable Lint/MissingSuper - def respond_to_missing?(meth, *_args) + def respond_to_missing?(meth, include_private = false) @fake.respond_to?(meth) || super end private