From 8bbfca2be84493c85aa6e88bfc8038b19fafa51a Mon Sep 17 00:00:00 2001 From: Daniel Colson Date: Thu, 23 Apr 2020 19:15:23 -0400 Subject: [PATCH] Remove unnecessary cop suppression The line length was fine here, and plus it was in the wrong namespace for recent versions of rubocop --- lib/factory_bot/definition_proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/factory_bot/definition_proxy.rb b/lib/factory_bot/definition_proxy.rb index 0b0de90..1470381 100644 --- a/lib/factory_bot/definition_proxy.rb +++ b/lib/factory_bot/definition_proxy.rb @@ -88,7 +88,7 @@ module FactoryBot # end # # are equivalent. - def method_missing(name, *args, &block) # rubocop:disable Style/MissingRespondToMissing, Style/MethodMissingSuper, Metrics/LineLength + def method_missing(name, *args, &block) # rubocop:disable Style/MissingRespondToMissing, Style/MethodMissingSuper association_options = args.first if association_options.nil?