Sha256: 8e2eca1053f7655e92ee812432c6877ddf6d2af40672dbb98858af9285b1dc3e

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

# -*- coding: utf-8 -*-

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

describe Sysadmin::Util do
  describe '#create_multi_dimensional_hash' do
    context 'with no arguments' do
      subject {
        h = Sysadmin::Util.create_multi_dimensional_hash
        h["a"]["b"]["c"]["d"] = 10
      }

      it 'should be returned multi dimensional hash' do
        expect(subject).to eql 10
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sysadmin-0.2.0 spec/lib/sysadmin/util_spec.rb