Sha256: baffede08de226c07858d032faf5ad76b7361fbf4134311daa7f5c891d51a30e

Contents?: true

Size: 151 Bytes

Versions: 8

Compression:

Stored size: 151 Bytes

Contents

require 'spec_helper'

describe String do
  it 'underscores the camelized string' do
    "SimpleTitled".underscore.should == 'simple_titled'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rescpos-0.0.9 spec/lib/core_ext/string_spec.rb
rescpos-0.0.8 spec/lib/core_ext/string_spec.rb
rescpos-0.0.7 spec/lib/core_ext/string_spec.rb
rescpos-0.0.6 spec/lib/core_ext/string_spec.rb
rescpos-0.0.5 spec/lib/core_ext/string_spec.rb
rescpos-0.0.3 spec/lib/core_ext/string_spec.rb
rescpos-0.0.2 spec/lib/core_ext/string_spec.rb
rescpos-0.0.1 spec/lib/core_ext/string_spec.rb