diff --git a/spec/graphql/types/organization_type_spec.rb b/spec/graphql/types/organization_type_spec.rb index cb3e138e5..6a55dfa64 100644 --- a/spec/graphql/types/organization_type_spec.rb +++ b/spec/graphql/types/organization_type_spec.rb @@ -785,7 +785,7 @@ "count" => 80_248, "id" => "2017", "title" => "2017", ) expect(response.dig("data", "organizations", "years").last).to eq( - "count" => 513, "id" => "2020", "title" => "2020", + "count" => 513, "id" => "2021", "title" => "2021", ) end end diff --git a/spec/graphql/types/person_type_spec.rb b/spec/graphql/types/person_type_spec.rb index 91cf8d451..b61c3c1c8 100644 --- a/spec/graphql/types/person_type_spec.rb +++ b/spec/graphql/types/person_type_spec.rb @@ -475,7 +475,7 @@ "count" => 44_270, "id" => "2012", "title" => "2012", ) expect(response.dig("data", "people", "years").last).to eq( - "count" => 1_767_011, "id" => "2020", "title" => "2020", + "count" => 1_767_011, "id" => "2021", "title" => "2021", ) end end