Sha256: 2e6d6f3d91dc0faa88c9125e54187ef1d6611190eedf26192774c7c6c3e4fa96
Contents?: true
Size: 351 Bytes
Versions: 39
Compression:
Stored size: 351 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
39 entries across 39 versions & 4 rubygems