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 7a15d83 commit 47a38fdCopy full SHA for 47a38fd
spec/quality/documentation_spec.rb
@@ -15,7 +15,7 @@
15
blocks.each do |block|
16
# Only consider code blocks with language 'ruby'.
17
next unless code_types.include?(block.type)
18
- next unless block.attr['class'] == 'language-ruby'
+ next unless block.attr['class']&.downcase == 'language-ruby'
19
20
it "has a valid sample at #{block.options[:location] + 1}" do
21
code = block.value.strip
0 commit comments