Sha256: d1db20e4e81c93bed02e0854e99160cf102c0f647142106bdfd8528c23d00438
Contents?: true
Size: 347 Bytes
Versions: 68
Compression:
Stored size: 347 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Array do describe '#place' do it "should create an Insertion object" do [].place('x').should be_kind_of(Insertion) end it "should allow multiple objects to be placed" do [1, 2].place('x', 'y', 'z').before(2).should == [1, 'x', 'y', 'z', 2] end end end
Version data entries
68 entries across 52 versions & 7 rubygems