Sha256: 2cf1ca23420250489a1873301c799dbd5d40cab74ef614044c9c8a3235a9b8e7

Contents?: true

Size: 176 Bytes

Versions: 8

Compression:

Stored size: 176 Bytes

Contents

require 'spec_helper'

describe Hash do

  it 'should extract all nested keys' do
    { :a => { :b => { :c => :d, :e => :f }}}.nested_keys.should =~ [:a, :b, :c, :e]
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bootstripe-0.2.11 spec/hash_additions_spec.rb
bootstripe-0.2.10 spec/hash_additions_spec.rb
bootstripe-0.2.9 spec/hash_additions_spec.rb
bootstripe-0.2.8 spec/hash_additions_spec.rb
bootstripe-0.2.7 spec/hash_additions_spec.rb
bootstripe-0.2.6 spec/hash_additions_spec.rb
bootstripe-0.2.5 spec/hash_additions_spec.rb
bootstripe-0.2.4 spec/hash_additions_spec.rb