Sha256: befb27ca4fe4838038448d75e34325c62ae7e726da55fa54d0925ffc465b26b3

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

require 'spec_helper'

module RedisFailover
  describe Util do
    describe '.symbolize_keys' do
      it 'converts hash keys to symbols' do
        Util.symbolize_keys('a' => 1, 'b' => 2).should == {:a => 1, :b => 2}
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redis_failover-0.2.0 spec/util_spec.rb
redis_failover-0.1.1 spec/util_spec.rb
redis_failover-0.1.0 spec/util_spec.rb