We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 079ff86 commit fa54149Copy full SHA for fa54149
spec/support/core_helpers.rb
@@ -75,7 +75,7 @@ def skip_unless_integration_testing_enabled
75
# work on Ruby 2.5/2.6 and 2.7+. In practice only one type of arguments
76
# should be used in any given call.
77
def with_env(*args, **opts)
78
- if args.any? && opts.any?
+ if args.any? && opts.any? # rubocop:disable Style/IfUnlessModifier
79
raise ArgumentError, 'Do not pass both args and opts'
80
end
81
0 commit comments