Sha256: 697df41852628ed662fd02eff2655b57ae9a6520762044f188c1ee77d7a513a0
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
# -*- coding: utf-8 -*- require File.dirname(__FILE__) + '/../../spec_helper' describe Sysadmin::Util do context 'で multi_dimensional_hash メソッドを呼ぶ場合' do describe '引数を付けずに呼ぶと' do it "多次元ハッシュが返る" do h = Sysadmin::Util.create_multi_dimensional_hash h["a"]["b"]["c"]["d"] = 10 h["a"]["b"]["c"]["e"] = 15 h["a"]["b"]["c"]["d"].should == 10 h["a"]["b"]["c"]["e"].should == 15 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sysadmin-0.1.3 | spec/lib/sysadmin/util_spec.rb |