Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 276 Bytes
require File.dirname(__FILE__) + '/base'
describe Array do
it "mixes commands into array" do
[ 1,2,3 ].entries.should == [ 1, 2, 3 ]
end
it "can call head" do
[ 1,2,3 ].head(1).should == [ 1 ]
end
it "can call tail" do
[ 1,2,3 ].tail(1).should == [ 3 ]
end
end
Jump to Line
Something went wrong with that request. Please try again.