Skip to content

Commit

Permalink
Specs broke and CI didn't catch it
Browse files Browse the repository at this point in the history
Looks like CI didn't catch the broken specs for some reason? This fixes
it.
  • Loading branch information
tpendragon committed Aug 9, 2017
1 parent c97fc1d commit 148a9ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/change_set_persisters/plum_change_set_persister_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
context "when a source_metadata_identifier is set for the first time" do
before do
stub_bibdata(bib_id: '123456')
stub_ezid(shoulder: "99999/fk4", blade: "123456")
end
it "applies remote metadata from bibdata" do
resource = FactoryGirl.build(:scanned_resource, title: [])
Expand Down Expand Up @@ -52,6 +53,7 @@
context "when a source_metadata_identifier is set and it's from PULFA" do
before do
stub_pulfa(pulfa_id: "MC016_c9616")
stub_ezid(shoulder: "99999/fk4", blade: "MC016_c9616")
end
it "applies remote metadata from PULFA" do
resource = FactoryGirl.build(:scanned_resource, title: [])
Expand Down Expand Up @@ -99,6 +101,7 @@
context "when a source_metadata_identifier is set afterwards and refresh_remote_metadata is set" do
before do
stub_bibdata(bib_id: '123456')
stub_ezid(shoulder: "99999/fk4", blade: "123456")
end
it "applies remote metadata from bibdata" do
resource = FactoryGirl.create_for_repository(:scanned_resource, title: 'Title', imported_metadata: [{ applicant: 'Test' }], source_metadata_identifier: nil)
Expand Down

0 comments on commit 148a9ff

Please sign in to comment.