Skip to content

Commit 0b313be

Browse files
author
John Bellone
committed
Add coverage to the integration test.
1 parent 21d9d35 commit 0b313be

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

TODO.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# TODO
22
- Fix the helpers and clean up the where it injects into DSL.
33
- Add custom resource (and multiple providers) for maintaining the Consul client.
4+
- Use the InSpec instead of ServerSpec.

test/integration/default/serverspec/localhost/default_spec.rb

+10
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
it { should be_linked_to '/srv/consul/current/consul' }
1111
end
1212

13+
describe group('consul') do
14+
it { should exist }
15+
end
16+
17+
describe user('consul') do
18+
it { should exist }
19+
it { should belong_to_group('consul') }
20+
it { should have_login_shell('/bin/bash') }
21+
end
22+
1323
describe service('consul') do
1424
it { should be_enabled }
1525
it { should be_running }

0 commit comments

Comments
 (0)