spec/models/indexing_spec.rb in ddr-models-3.0.0.beta.17 vs spec/models/indexing_spec.rb in ddr-models-3.0.0.beta.18
- old
+ new
@@ -55,9 +55,12 @@
before {
allow(obj.content).to receive(:create_date) { create_date }
}
its([Indexing::CONTENT_CREATE_DATE]) { is_expected.to eq "2016-01-22T21:50:33Z" }
+ its([Indexing::ATTACHED_FILES_HAVING_CONTENT]) {
+ is_expected.to eq([:content])
+ }
end
end
end