spec/utils_spec.rb in briard-2.8.1 vs spec/utils_spec.rb in briard-2.8.2

- old
+ new

@@ -189,9 +189,15 @@ url = 'eating-your-own-dog-food' response = subject.normalize_id(url) expect(response.nil?).to be(true) end + it 'filename' do + url = 'crossref.xml' + response = subject.normalize_id(url) + expect(response.nil?).to be(true) + end + it 'sandbox via url' do url = 'https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7' response = subject.normalize_id(url) expect(response).to eq('https://handle.stage.datacite.org/10.20375/0000-0001-ddb8-7') end