Sha256: a1c3fc86677bd2552efee4684d29e70bf8a492562bdba0c89dbcf2205b5e18e0
Contents?: true
Size: 500 Bytes
Versions: 5
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' module Vacuum module Request describe Utils do describe '.camelize' do it 'camelizes an underscored String' do Utils.camelize('foo_bar').should eql 'FooBar' end end describe '.encode' do it 'encodes reserved characters' do Utils.encode(',').should eql '%2C' end it 'does not encode unreserved characters' do Utils.encode('~').should eql '~' end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems