Sha256: e677b591787b0bf7a460f1fba6a5a0b98301a92dbd01c54099893989844a46ce

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

require 'spec_helper'

describe String do

  it 'Titleize single word' do
    'hello'.titleize.should eq 'Hello'
  end

  it 'Titleize phrase' do
    'hello world'.titleize.should eq 'Hello world'
  end

  it 'Titleize titleized word' do
    'Hello'.titleize.should eq 'Hello'
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
web_client-0.0.4 spec/string_spec.rb