Skip to content

Commit f117330

Browse files
committed
Fix specs
1 parent 30dba22 commit f117330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/cc/engine/rubocop_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def method
115115
def includes_check?(output, cop_name)
116116
issues = output.split("\0").map { |x| JSON.parse(x) }
117117

118-
!!issues.detect { |i| i["check"] =~ /#{cop_name}$/ }
118+
!!issues.detect { |i| i["check_name"] =~ /#{cop_name}$/ }
119119
end
120120

121121
def create_source_file(path, content)

0 commit comments

Comments
 (0)