diff --git a/lib/factory_bot/null_object.rb b/lib/factory_bot/null_object.rb index 51839ff..dcfcfa1 100644 --- a/lib/factory_bot/null_object.rb +++ b/lib/factory_bot/null_object.rb @@ -13,7 +13,7 @@ module FactoryBot end end - def respond_to?(method, _include_private = false) + def respond_to?(method) @methods_to_respond_to.include? method.to_s end end