You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"awardTitle": "Institutionalizing global genetic-resource commons. Global Strategies for accessing and using essential public knowledge assets in the life sciences.",
2348
+
"funderName": "European Commission",
2349
+
"awardNumber": "284382",
2350
+
"funderIdentifier": "https://ror.org/00a0jsq62",
2351
+
"funderIdentifierType": "ROR"
2352
+
}
2353
+
]
2354
+
) }
2355
+
2356
+
it "has normalized funding references in funder_rors" do
"awardTitle": "Institutionalizing global genetic-resource commons. Global Strategies for accessing and using essential public knowledge assets in the life sciences.",
704
+
"funderName": "London School of Hygiene & Tropical Medicine",
705
+
"awardNumber": "284382",
706
+
"funderIdentifier": "https://ror.org/00a0jsq62",
707
+
"funderIdentifierType": "ROR"
708
+
}
709
+
])
710
+
end
711
+
712
+
before do
713
+
clear_doi_index
714
+
import_doi_index
715
+
end
716
+
717
+
it "filters by funder when funded_by is set with Crossref Funder ID funderIdentifier", vcr: true do
718
+
get "/dois?funded-by=https://ror.org/00k4n6c32", nil, headers
it "filters by funder and funder child orgs when funded_by is set with Crossref Funder ID funderIdentifier and include_funder_child_organizations is true", vcr: true do
742
+
get "/dois?funded-by=https://ror.org/00k4n6c32&include-funder-child-organizations=true", nil, headers
it "filters by funder and funder child orgs when query string is set with Crossref Funder ID funderIdentifier and child organizations are included", vcr: true do
752
+
get "/dois?query=funder_rors:\"https://ror.org/00k4n6c32\" OR funder_parent_rors:\"https://ror.org/00k4n6c32\"", nil, headers
0 commit comments