Sha256: c0d27cc5455b169439e45d76a0e3ccde40bda7b2f3a0614009eddcc9399f7ad9
Contents?: true
Size: 301 Bytes
Versions: 62
Compression:
Stored size: 301 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__) describe "Array#empty?" do it "returns true if the array has no elements" do [].empty?.should == true [1].empty?.should == false [1, 2].empty?.should == false end end
Version data entries
62 entries across 62 versions & 3 rubygems