Sha256: 1a0d6882459d6abc76612f8b88f94337bf9d746d93231c313da5b4b8a7dfd0bd

Contents?: true

Size: 302 Bytes

Versions: 42

Compression:

Stored size: 302 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe String, 'camelize' do
  it "should camelize a string" do
    'my_string'.camelize.should == 'MyString'
  end
end

describe String, 'underscore' do
  it "should underscore a string" do
    'MyString'.underscore.should == 'my_string'
  end
end

Version data entries

42 entries across 42 versions & 6 rubygems

Version Path
andrewtimberlake-couch_potato-0.2.8.1 spec/unit/string_spec.rb
andrewtimberlake-couch_potato-0.2.8.2 spec/unit/string_spec.rb
andrewtimberlake-couch_potato-0.2.8.3 spec/unit/string_spec.rb
andrewtimberlake-couch_potato-0.2.8.4 spec/unit/string_spec.rb
langalex-couch_potato-0.2.0 spec/unit/string_spec.rb
langalex-couch_potato-0.2.1 spec/unit/string_spec.rb
langalex-couch_potato-0.2.11 spec/unit/string_spec.rb
langalex-couch_potato-0.2.12 spec/unit/string_spec.rb
langalex-couch_potato-0.2.2 spec/unit/string_spec.rb
langalex-couch_potato-0.2.3 spec/unit/string_spec.rb
langalex-couch_potato-0.2.4 spec/unit/string_spec.rb
langalex-couch_potato-0.2.5 spec/unit/string_spec.rb
langalex-couch_potato-0.2.6 spec/unit/string_spec.rb
langalex-couch_potato-0.2.7 spec/unit/string_spec.rb
langalex-couch_potato-0.2.8 spec/unit/string_spec.rb
langalex-couch_potato-0.2.9 spec/unit/string_spec.rb
speedmax-couch_potato-0.2.0 spec/unit/string_spec.rb
speedmax-couch_potato-0.2.2 spec/unit/string_spec.rb
thefool808-couch_potato-0.2.7 spec/unit/string_spec.rb
couch_potato-0.2.27 spec/unit/string_spec.rb