diff options
| author | mo khan <mo@mokhan.ca> | 2015-04-30 22:32:51 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-04-30 22:32:51 -0600 |
| commit | 05dd3c7abb569a81853e5edefbb4f18d9f9be12e (patch) | |
| tree | 3c7c6e319aecc4986dbbba034623a6f453b9321e /spec | |
| parent | 68a61cf1ec66e6ed93b9c5d92f628af2a0f847e7 (diff) | |
add spec to enable service.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/default_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/default_spec.rb b/spec/default_spec.rb index f28b63b..15b499d 100644 --- a/spec/default_spec.rb +++ b/spec/default_spec.rb @@ -8,4 +8,8 @@ describe 'mokhan-myface::default' do it 'starts the apache2 service' do expect(chef_run).to start_service('apache2') end + + it 'enables apache2 to start on boot' do + expect(chef_run).to enable_service('apache2') + end end |
