Sha256: 3c31f77a22a7128bb286dd5934ad1bb669619d5fe37f72c27f5d4f6854b93a82
Contents?: true
Size: 506 Bytes
Versions: 8
Compression:
Stored size: 506 Bytes
Contents
require 'spec_helper' describe FormatParser::FileInformation do context "File data checks" do it 'succeeds with relevant attributes' do result = described_class.new(file_nature: :image, file_type: :jpg, width_px: 42, height_px: 10, image_orientation: 1) expect(result.file_nature).to eq(:image) expect(result.file_type).to eq(:jpg) expect(result.width_px).to eq(42) expect(result.height_px).to eq(10) expect(result.image_orientation).to eq(1) end end end
Version data entries
8 entries across 8 versions & 1 rubygems