Sha256: 4e6521781d08e8cf8ceaad98809d080c95218609121002888e4c339a888500c2
Contents?: true
Size: 253 Bytes
Versions: 15
Compression:
Stored size: 253 Bytes
Contents
require 'spec_helper' describe String do describe "#wrap" do let(:string) { "One two three four five" } it { string.wrap(1).should == "One\ntwo\nthree\nfour\nfive" } it { string.wrap(10).should == "One two\nthree four\nfive" } end end
Version data entries
15 entries across 15 versions & 1 rubygems