Sha256: ec3ba3b9e1b7c3097aa79a4df7b3165903aba7b4cf301f1aa0fca28ed77bccb7
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' describe FormatParser::Image do context "File data checks" do it 'succeeds with relevant attributes' do result = described_class.new(format: :jpg, width_px: 42, height_px: 10, image_orientation: 1) expect(result.nature).to eq(:image) expect(result.format).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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
format_parser-0.2.0 | spec/file_information_spec.rb |