From 0f74de7261a31c9aa2f1dabaee733061c0e35c50 Mon Sep 17 00:00:00 2001 From: kjgarza Date: Thu, 2 Jan 2020 09:43:56 +0100 Subject: [PATCH] test change --- 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 9f1ab4cc4..072630f10 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?aggregations=advanced_aggregations" } + let(:uri) { "/events" } let(:params) do { "data" => { "type" => "events", "attributes" => { @@ -259,7 +259,7 @@ Event.import sleep 1 - get uri, nil, headers + get "#{uri}?aggregations=advanced_aggregations", nil, headers expect(json.dig("meta", "registrants", 0, "count")).to eq(1) expect(json.dig("meta", "registrants", 0, "id")).to eq("datacite.crossref.citations")