describe 'ActiveMQ server' do
  it 'should be running the activemq server' do
    expect(service('activemq')).to be_running
    expect(service('activemq')).to be_enabled
  end
end

describe command('ps ax | grep activem[q]') do
  its('exit_status') { should eq 0 }
end

Check process vs. service check
Check process vs. service check

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
