Sha256: 858173b5e57ca3efc655b41a8667bff40763da5c5e9fb9d6573b1f1c87bc8537
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
require 'spec_helper' RSpec.describe Riiif::Size::Width do let(:image_info) { double } context 'when initialized with strings' do let(:instance) { described_class.new(image_info, '50') } it 'casts height to an integer' do expect(instance.width).to eq 50 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
riiif-2.0.0.beta2 | spec/services/riiif/size/width_spec.rb |
riiif-2.0.0.beta1 | spec/services/riiif/size/width_spec.rb |