Sha256: 74021bd94fbfbff369eedd280cd6aa78db22bf86ffdf31765a685669b4a212d3

Contents?: true

Size: 222 Bytes

Versions: 21

Compression:

Stored size: 222 Bytes

Contents

describe "Enumerable#to_a" do
  it "returns an array containing the elements" do
    numerous = EnumerableSpecs::Numerous.new(1, nil, 'a', 2, false, true)
    numerous.to_a.should == [1, nil, "a", 2, false, true]
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

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