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 2b1e7fe commit 102ba31Copy full SHA for 102ba31
lib/rspec/rails/configuration.rb
@@ -54,7 +54,9 @@ def self.add_test_type_configurations(config)
54
end
55
56
# @private
57
- def self.initialize_configuration(config) # rubocop:disable Metrics/MethodLength,Metrics/CyclomaticComplexity
+ # rubocop:disable Style/MethodLength
58
+ # rubocop:disable Style/CyclomaticComplexity
59
+ def self.initialize_configuration(config)
60
config.backtrace_exclusion_patterns << /vendor\//
61
config.backtrace_exclusion_patterns << %r{lib/rspec/rails}
62
@@ -176,6 +178,7 @@ def filter_rails_from_backtrace!
176
178
177
179
180
# rubocop:enable Style/MethodLength
181
+ # rubocop:enable Style/CyclomaticComplexity
182
183
initialize_configuration RSpec.configuration
184
0 commit comments