spec/unit/ohai_spec.rb in omnibus-3.2.2 vs spec/unit/ohai_spec.rb in omnibus-4.0.0.beta.1
- old
+ new
@@ -1,15 +1,8 @@
require 'spec_helper'
module Omnibus
describe Ohai do
- context 'using dot notation' do
- it 'does not raise an exception' do
- expect { Ohai.kernel }.to_not raise_error
- expect { Ohai.kernel.machine }.to_not raise_error
- end
- end
-
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