```ruby
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
```

Check process vs. service check
user
```ruby
describe command('ps ax | grep activem[q]') do
  its('exit_status') { should eq 0 }
end
```
assistant