Can be written as:
```ruby
it 'should install json package' do
  should contain_package('rubygem-json').with_ensure('installed')
end
```