From b3641115ef1c9d8eb98d4c04120a80ca8c1ffe91 Mon Sep 17 00:00:00 2001 From: jrhoads Date: Wed, 23 Aug 2023 19:43:26 -0400 Subject: [PATCH] Appease Rubocop --- spec/graphql/types/work_type_spec.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spec/graphql/types/work_type_spec.rb b/spec/graphql/types/work_type_spec.rb index b2ecaac95..4c829bf52 100644 --- a/spec/graphql/types/work_type_spec.rb +++ b/spec/graphql/types/work_type_spec.rb @@ -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 @@ -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