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
couch_potato-0.2.26 spec/unit/string_spec.rb
couch_potato-0.2.25 spec/unit/string_spec.rb
couch_potato-0.2.24 spec/unit/string_spec.rb
couch_potato-0.2.23 spec/unit/string_spec.rb
couch_tomato-0.2.0 spec/unit/string_spec.rb
couch_potato-0.2.22 spec/unit/string_spec.rb
couch_potato-0.2.21 spec/unit/string_spec.rb
couch_potato-0.2.20 spec/unit/string_spec.rb
couch_potato-0.2.19 spec/unit/string_spec.rb
couch_potato-0.2.18 spec/unit/string_spec.rb
couch_potato-0.2.17 spec/unit/string_spec.rb
couch_potato-0.2.16 spec/unit/string_spec.rb
couch_tomato-0.1.5 spec/unit/string_spec.rb
couch_potato-0.2.15 spec/unit/string_spec.rb
couch_potato-0.2.14 spec/unit/string_spec.rb
couch_potato-0.2.13 spec/unit/string_spec.rb
couch_tomato-0.1.4 spec/unit/string_spec.rb
couch_tomato-0.1.3 spec/unit/string_spec.rb
couch_tomato-0.1.2 spec/unit/string_spec.rb
couch_tomato-0.1.1 spec/unit/string_spec.rb