spec/file_utils_spec.rb in cirneco-0.9.15 vs spec/file_utils_spec.rb in cirneco-0.9.16

- old
+ new

@@ -48,11 +48,11 @@ end it 'should mint for url' do filepath = fixture_path + 'cool-dois/index.html' response = subject.mint_doi_for_url(filepath, options) - expect(response).to eq("DOI 10.5438/0000-03vc minted for cool-dois.html.md") + expect(response).to eq("DOI 10.5438/55e5-t5c0 minted for cool-dois.html.md") end it 'should hide for url' do filepath = fixture_path + 'cool-dois-minted/index.html' response = subject.hide_doi_for_url(filepath, options) @@ -60,17 +60,17 @@ end it 'should mint and hide for url' do filepath = fixture_path + 'cool-dois/index.html' response = subject.mint_and_hide_doi_for_url(filepath, options) - expect(response).to eq("DOI 10.5438/0000-03vc minted and hidden for cool-dois.html.md") + expect(response).to eq("DOI 10.5438/55e5-t5c0 minted and hidden for cool-dois.html.md") end it 'should mint for all urls' do filepath = fixture_path + 'index.html' response = subject.mint_dois_for_all_urls(filepath, options) - expect(response).to eq("DOI 10.5438/0000-03vc minted for cool-dois.html.md\nDOI 10.5438/0000-00ss minted for index.html.erb") + expect(response).to eq("DOI 10.5438/55e5-t5c0 minted for cool-dois.html.md\nDOI 10.5438/0007-nw90 minted for index.html.erb") end it 'should hide for all urls' do filepath = fixture_path + 'index-minted.html' response = subject.hide_dois_for_all_urls(filepath, options) @@ -78,10 +78,10 @@ end it 'should mint and hide for all urls' do filepath = fixture_path + 'index.html' response = subject.mint_and_hide_dois_for_all_urls(filepath, options) - expect(response).to eq("DOI 10.5438/0000-03vc minted and hidden for cool-dois.html.md\nDOI 10.5438/0000-00ss minted and hidden for index.html.erb") + expect(response).to eq("DOI 10.5438/55e5-t5c0 minted and hidden for cool-dois.html.md\nDOI 10.5438/0000-00ss minted and hidden for index.html.erb") end it 'should get_json_ld_from_work' do filepath = fixture_path + 'cool-dois/index.html' json = subject.get_json_ld_from_work(filepath)