Sha256: d4e56f18ba9ebcf24fdc72a051803f97bb00a5bd101740a2f0c8e2a8e88f2a03

Contents?: true

Size: 592 Bytes

Versions: 23

Compression:

Stored size: 592 Bytes

Contents

require 'spec_helper'

describe StorageRoom::ImageVersion do
  before(:each) do
    @image_version = StorageRoom::ImageVersion.new(:identifier => 'thumb', :format => 'png', :resize_mode => 'fit', :width => 100, :height => 200)
  end
  
  context "Configuration" do
    describe "#keys" do
      it "should have keys" do        
        @image_version.identifier.should == 'thumb'
        @image_version.format.should == 'png'
        @image_version.resize_mode.should == 'fit'
        @image_version.width.should == 100
        @image_version.height.should == 200
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
storage_room-0.3.24 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.23 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.22 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.21 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.20 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.19 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.18 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.17 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.16 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.15 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.14 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.13 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.12 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.11 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.10 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.9 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.8 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.7 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.6 spec/storage_room/embeddeds/image_version_spec.rb
storage_room-0.3.5 spec/storage_room/embeddeds/image_version_spec.rb