spec/models/indexing_spec.rb in ddr-models-3.0.0.alpha.4 vs spec/models/indexing_spec.rb in ddr-models-3.0.0.beta.1

- old
+ new

@@ -25,10 +25,10 @@ its([Indexing::DOI]) { is_expected.to eq(["http://doi.org/10.1000/182"]) } its([Indexing::PERMANENT_ID]) { is_expected.to eq("ark:/99999/fk4zzz") } its([Indexing::PERMANENT_URL]) { is_expected.to eq("http://id.library.duke.edu/ark:/99999/fk4zzz") } its([Indexing::DISPLAY_FORMAT]) { is_expected.to eq("Image") } its([Indexing::ACCESS_ROLE]) { is_expected.to eq(obj.roles.to_json) } - its([Indexing::POLICY_ROLE]) { is_expected.to contain_exactly(role2.agent.first, role3.agent.first, role4.agent.first) } - its([Indexing::RESOURCE_ROLE]) { is_expected.to contain_exactly(role1.agent.first) } + its([Indexing::POLICY_ROLE]) { is_expected.to contain_exactly(role2.agent, role3.agent, role4.agent) } + its([Indexing::RESOURCE_ROLE]) { is_expected.to contain_exactly(role1.agent) } end end