From d17dbbc468f848044d6d3bc5cf698e0eda8e830c Mon Sep 17 00:00:00 2001 From: kjgarza Date: Thu, 2 Jan 2020 11:08:25 +0100 Subject: [PATCH] Revert "test change" This reverts commit 0f74de7261a31c9aa2f1dabaee733061c0e35c50. --- spec/requests/events_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/events_spec.rb b/spec/requests/events_spec.rb index 072630f10..9f1ab4cc4 100644 --- a/spec/requests/events_spec.rb +++ b/spec/requests/events_spec.rb @@ -235,7 +235,7 @@ end context "with registrant information" do - let(:uri) { "/events" } + let(:uri) { "/events?aggregations=advanced_aggregations" } let(:params) do { "data" => { "type" => "events", "attributes" => { @@ -259,7 +259,7 @@ Event.import sleep 1 - get "#{uri}?aggregations=advanced_aggregations", nil, headers + get uri, nil, headers expect(json.dig("meta", "registrants", 0, "count")).to eq(1) expect(json.dig("meta", "registrants", 0, "id")).to eq("datacite.crossref.citations")