Sha256: e9e23948fc2f60b6b26ab7dad130279713a781971ec75620a946620161b4dd10

Contents?: true

Size: 140 Bytes

Versions: 81

Compression:

Stored size: 140 Bytes

Contents

describe "Enumerable#drop_while" do
  it "breaks out with the proper value" do
    [1, 2, 3].drop_while { break 42 }.should == 42
  end
end

Version data entries

81 entries across 81 versions & 3 rubygems

Version Path
opal-0.8.0.rc3 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.8.0.rc2 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.8.0.rc1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.8.0.beta1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.2 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.0 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.0.rc1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.0.beta3 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.6.3 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.0.beta2 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-cj-0.7.0.beta2 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-cj-0.7.0.beta1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.7.0.beta1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.6.2 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.6.1 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.6.0 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.5.5 spec/opal/core/enumerable/drop_while_break_spec.rb
opal-0.5.4 spec/corelib/enumerable/drop_while_break_spec.rb
opal-0.5.2 spec/corelib/enumerable/drop_while_break_spec.rb