Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.291 kB
require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'
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
Jump to Line
Something went wrong with that request. Please try again.