Sha256: be14771bc1076a586edc66530ce2e51d793876a24f0ee1d4c4e07faa33fe4857
Contents?: true
Size: 793 Bytes
Versions: 12
Compression:
Stored size: 793 Bytes
Contents
require 'spec_helper' describe FitsDatastream, :unless => $in_travis do before(:all) do @file = GenericFile.new @file.add_file(File.open(fixture_path + '/world.png'), 'content', 'world.png') @file.characterize end it "should have a format label" do @file.format_label.should == ["Portable Network Graphics"] end it "should have a mime type" do @file.mime_type.should == "image/png" end it "should have a file size" do @file.file_size.should == ["4218"] end it "should have a last modified timestamp" do @file.last_modified.should_not be_empty end it "should have a filename" do @file.filename.should_not be_empty end it "should have a checksum" do @file.original_checksum.should == ["28da6259ae5707c68708192a40b3e85c"] end end
Version data entries
12 entries across 12 versions & 1 rubygems