Sha256: ce71c15dec407c4ff199227a2f23e2831d349d34467e3c3947199c58e7085e95

Contents?: true

Size: 293 Bytes

Versions: 10

Compression:

Stored size: 293 Bytes

Contents

require 'spec_helper'

module Omnibus
  describe Ohai do
    context 'using hash notation' do
      it 'allows fetching values by hash notation' do
        expect { Ohai['kernel'] }.to_not raise_error
        expect { Ohai['kernel']['machine'] }.to_not raise_error
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
omnibus-5.4.0 spec/unit/ohai_spec.rb
omnibus-5.3.0 spec/unit/ohai_spec.rb
omnibus-5.2.0 spec/unit/ohai_spec.rb
omnibus-5.1.0 spec/unit/ohai_spec.rb
omnibus-5.0.0 spec/unit/ohai_spec.rb
omnibus-4.1.0 spec/unit/ohai_spec.rb
omnibus-4.0.0 spec/unit/ohai_spec.rb
omnibus-4.0.0.rc.2 spec/unit/ohai_spec.rb
omnibus-4.0.0.rc.1 spec/unit/ohai_spec.rb
omnibus-4.0.0.beta.1 spec/unit/ohai_spec.rb