Sha256: fab6df6e0a545977fc50bf4b064715608f0c397bc7006a84f70784143db31fe0

Contents?: true

Size: 130 Bytes

Versions: 23

Compression:

Stored size: 130 Bytes

Contents

describe "Array#size" do
  it "returns the number of elements" do
    [].size.should == 0
    [1, 2, 3].size.should == 3
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
opal-0.3.41 spec/core/array/size_spec.rb
opal-0.3.40 spec/core/array/size_spec.rb
opal-0.3.39 spec/core/array/size_spec.rb
opal-0.3.38 spec/core/array/size_spec.rb
opal-0.3.37 spec/core/array/size_spec.rb
opal-0.3.36 spec/core/array/size_spec.rb
opal-0.3.35 spec/core/array/size_spec.rb
opal-0.3.34 spec/core/array/size_spec.rb
opal-0.3.33 spec/core/array/size_spec.rb
opal-0.3.32 spec/core/array/size_spec.rb
opal-0.3.31 spec/core/array/size_spec.rb
opal-0.3.30 spec/core/array/size_spec.rb
opal-0.3.29 spec/core/array/size_spec.rb
opal-0.3.28 spec/core/array/size_spec.rb
opal-0.3.27 spec/core/array/size_spec.rb
opal-0.3.26 spec/core/array/size_spec.rb
opal-0.3.25 spec/core/array/size_spec.rb
opal-0.3.22 spec/core/array/size_spec.rb
opal-0.3.21 test/core/array/size_spec.rb
opal-0.3.20 test/core/array/size_spec.rb