Sha256: a5b9913d80e6808b78c8bf5ed861d9e2c8dc9659bbd8af6f66134fb6e4c129cc
Contents?: true
Size: 380 Bytes
Versions: 3
Compression:
Stored size: 380 Bytes
Contents
describe "NSIndexPathWrap" do before do @index = NSIndexPath.indexPathForRow(0, inSection:3) end it "should be able to use an array like accessor" do @index[0].should == @index.indexAtPosition(0) end it "should support the each iterator" do puts @index.inspect i = [] @index.each do |idx| i << idx end i.should == [3, 0] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bubble-wrap-0.4.0 | spec/core/ns_index_path_spec.rb |
bubble-wrap-0.3.1 | spec/ns_index_path_spec.rb |
bubble-wrap-0.3.0 | spec/ns_index_path_spec.rb |