Skip to content

Commit

Permalink
Appease Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhoads committed Aug 23, 2023
1 parent 663e4db commit b364111
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/graphql/types/work_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,6 @@
expect(response.dig(
"data", "works", "personToWorkTypesMultilevel", 0, "inner"
).length()).to eq(1)

end

it "returns the correct counts for the person_to_work_types flattened" do
Expand All @@ -1755,11 +1754,10 @@
expect(response.dig("data", "works", "personToWorkTypesFlat").length()).to eq(2)
expect(response.dig("data", "works", "personToWorkTypesFlat")).to eq(
[
{"count"=>1, "data"=>["Garza, Kristian", "Dataset"]},
{"count"=>1, "data"=>["Ross, Cody", "Dataset"]}
{ "count" => 1, "data" => ["Garza, Kristian", "Dataset"] },
{ "count" => 1, "data" => ["Ross, Cody", "Dataset"] }
]
)

end
end

Expand Down

0 comments on commit b364111

Please sign in to comment.