Skip to content

Commit

Permalink
Fixing rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
europ committed May 16, 2018
1 parent 8c43f3f commit 7328482
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions spec/workers/concerns/code_analysis_mixin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@
expect(subject.run_all_linters).to eq(
[
{
"files" =>
[
{
"path" => item_rubocop.path,
"offenses" =>
[
{
"severity" => item_rubocop.level,
"message" => item_rubocop.msg,
"cop_name" => item_rubocop.runner,
"corrected" => false,
"line" => item_msg.line.position
},
]
}
],
"summary" =>
{
"offense_count" => input.group_by(&:runner).values[0].count,
"target_file_count" => input.group_by(&:runner).values[0].group_by(&:path).count
}
"files" =>
[
{
"path" => item_rubocop.path,
"offenses" =>
[
{
"severity" => item_rubocop.level,
"message" => item_rubocop.msg,
"cop_name" => item_rubocop.runner,
"corrected" => false,
"line" => item_msg.line.position
},
]
}
],
"summary" =>
{
"offense_count" => input.group_by(&:runner).values[0].count,
"target_file_count" => input.group_by(&:runner).values[0].group_by(&:path).count
}
},
{
"files" =>
Expand Down

0 comments on commit 7328482

Please sign in to comment.