Sha256: bd1bfe6b92e8664cb689f43ac4297d6fea837733498344b99c47e87ab2a6c896

Contents?: true

Size: 464 Bytes

Versions: 6

Compression:

Stored size: 464 Bytes

Contents

describe UnderOs::UI::Collection do
  describe '#initialize' do
    before do
      @collection = UnderOs::UI::Collection.new
    end

    it "makes instances of UI::Collection" do
      @collection.class.should == UnderOs::UI::Collection
    end

    it "wraps the UICollectionView object" do
      @collection._.class.should == UICollectionView
    end

    it "assigns the COLLECTION class" do
      @collection.tagName.should == "COLLECTION"
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
under-os-ui-1.4.0 spec/under_os/ui/collection_spec.rb
under-os-1.3.0 spec/lib/under_os/ui/collection_spec.rb
under-os-1.2.1 spec/lib/under_os/ui/collection_spec.rb
under-os-1.2.0 spec/lib/under_os/ui/collection_spec.rb
under-os-1.1.0 spec/lib/under_os/ui/collection_spec.rb
under-os-1.0.0 spec/lib/under_os/ui/collection_spec.rb