Sha256: 06d11b9ebe0ab98d9b00368b4d3403981511abe13b288e8a870186c4d7115afc
Contents?: true
Size: 458 Bytes
Versions: 83
Compression:
Stored size: 458 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/fixtures/classes.rb' describe "String#empty?" do it "returns true if the string has a length of zero" do "hello".empty?.should == false " ".empty?.should == false "\x00".empty?.should == false "".empty?.should == true StringSpecs::MyString.new("").empty?.should == true end end
Version data entries
83 entries across 83 versions & 1 rubygems