blob: f70b1b6ebe03ac291c658847c7af15dea2395fee (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe "Array#empty?" do
it "returns true if the array has no elements" do
[].should.empty?
[1].should_not.empty?
[1, 2].should_not.empty?
end
end
|