Sha256: 0b932defd6fa33bc518ee8190f232cc512fc96223fa6cb238bf488626d69b76e
Contents?: true
Size: 408 Bytes
Versions: 38
Compression:
Stored size: 408 Bytes
Contents
require 'spec_helper' describe Openseadragon::Image do subject { Openseadragon::Image.new id: 'some-id', width: 400, height: 500 } describe "#to_tilesource" do it "should have an id, width and height" do expect(subject.to_tilesource[:identifier]).to eq 'some-id' expect(subject.to_tilesource[:width]).to eq 400 expect(subject.to_tilesource[:height]).to eq 500 end end end
Version data entries
38 entries across 38 versions & 2 rubygems