require 'spec_helper' module Ddr::Datastreams RSpec.describe FitsDatastream do let(:fits_xml) do <<-XML 1.6 fmt/20 3786205 Adobe Acrobat Pro 11.0.3 Paper Capture Plug-in/PREMIS Editorial Committee Adobe Acrobat Pro 11.0.3 Paper Capture Plug-in/Acrobat PDFMaker 11 for Word 2015:06:25 21:45:24-04:00 2015-06-08T21:22:35Z 2015:06:05 15:16:23-04:00 /Users/dc/Downloads/premis-3-0-final.pdf premis-3-0-final.pdf 432ab76d650bfdc8f8d4a98cea9634bb 1435283124000 true false Invalid page tree node offset=390028 Outlines contain recursive references. CONTENTS PREMIS Data Dictionary for Preservation Metadata, Version 3.0 PREMIS Editorial Committee en 282 no yes yes no no no yes PREMIS XML end before do subject.content = fits_xml end it "should exclude Exiftool from modified" do expect(subject.modified).to eq(["2015-06-08T21:22:35Z"]) end end end