Sha256: 8edf6342bd8a0d8c14af73395285a144e138a066f9eaef0880c628a9c17bea8e
Contents?: true
Size: 478 Bytes
Versions: 24
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe SolrDocument do describe "when mime-type is 'application/mxf'" do before do subject['mime_type_tesim'] = ['application/mxf'] end it "should be a video" do subject.should be_video end end describe "date_uploaded" do before do subject['desc_metadata__date_uploaded_dtsi'] = '2013-03-14T00:00:00Z' end it "should be a date" do subject.date_uploaded.should == '03/14/2013' end end end
Version data entries
24 entries across 24 versions & 1 rubygems