Sha256: e4db939f759e3b31e283c5646cf4544ccbd32a93d33fc7821b5456b873cdd61d

Contents?: true

Size: 278 Bytes

Versions: 13

Compression:

Stored size: 278 Bytes

Contents

require File.join(File.dirname(__FILE__), %w[ .. .. spec_helper])

describe 'string extentions' do

  it 'should underscore a word' do
    'SomeGuy'.underscore.should == 'some_guy'
  end
  
  it 'should camelcase a word' do
    'some_guy'.camelize.should == 'SomeGuy'
  end

end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
pjdavis-roart-0.1.0 spec/roart/core/string_spec.rb
pjdavis-roart-0.1.1 spec/roart/core/string_spec.rb
pjdavis-roart-0.1.2 spec/roart/core/string_spec.rb
pjdavis-roart-0.1.3 spec/roart/core/string_spec.rb
pjdavis-roart-0.1.4 spec/roart/core/string_spec.rb
axtro-roart-0.1.8 spec/roart/core/string_spec.rb
roart-0.1.8 spec/roart/core/string_spec.rb
roart-0.1.7 spec/roart/core/string_spec.rb
roart-0.1.6 spec/roart/core/string_spec.rb
roart-0.1.5.1 spec/roart/core/string_spec.rb
roart-0.1.5 spec/roart/core/string_spec.rb
threetee-roart-0.1.4 spec/roart/core/string_spec.rb
roart-0.1.4 spec/roart/core/string_spec.rb