lib/rubocop/cop/rspec/multiple_expectations.rb in rubocop-rspec-1.9.0 vs lib/rubocop/cop/rspec/multiple_expectations.rb in rubocop-rspec-1.9.1
- old
+ new
@@ -75,10 +75,10 @@
MSG % { total: expectation_count, max: max_expectations }
)
end
def max_expectations
- Integer(cop_config.fetch(parameter_name, 1))
+ Integer(cop_config.fetch('Max', 1))
end
end
end
end
end