diff options
Diffstat (limited to 'rubocop/cop/rspec/top_level_describe_path.rb')
-rw-r--r-- | rubocop/cop/rspec/top_level_describe_path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/rspec/top_level_describe_path.rb b/rubocop/cop/rspec/top_level_describe_path.rb index 61796e23af0..3cc1ee8df90 100644 --- a/rubocop/cop/rspec/top_level_describe_path.rb +++ b/rubocop/cop/rspec/top_level_describe_path.rb @@ -21,7 +21,7 @@ module RuboCop private def acceptable_file_path?(path) - File.fnmatch?('*_spec.rb', path) || File.fnmatch?('*/frontend/fixtures/*', path) + File.fnmatch?('*_spec.rb', path) || File.fnmatch?('*/frontend/fixtures/*', path) || File.fnmatch?('*/docs_screenshots/*_docs.rb', path) end def shared_example?(node) |