Sha256: 16e4b5500b0284b37cb8a4de60e680fc9ece8940a32051944807c49401443826
Contents?: true
Size: 341 Bytes
Versions: 52
Compression:
Stored size: 341 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "String.allocate" do it "returns an instance of String" do str = String.allocate str.should be_kind_of(String) end it "returns a fully-formed String" do str = String.allocate str.size.should == 0 str << "more" str.should == "more" end end
Version data entries
52 entries across 52 versions & 2 rubygems