Skip to content

Commit

Permalink
test change
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed Jan 2, 2020
1 parent 97c6c90 commit 0f74de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/requests/events_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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" => {
Expand All @@ -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")
Expand Down

0 comments on commit 0f74de7

Please sign in to comment.