Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b323903224
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.413 kb
unless Object.const_defined? :Plymouth
$:.unshift File.expand_path '../../lib', __FILE__
end
require 'plymouth'
describe Array do
before do
@array = [1]
end
it 'should be empty' do
@array.empty?.should == true
end
it 'should have 3 items' do
[1, 2, 3].size.should == 3
end
it 'should contain only numbers' do
[1, "2", 3].all? { |v| v.is_a?(Fixnum).should == true }
end
end
Jump to Line
Something went wrong with that request. Please try again.