Skip to content

Commit

Permalink
Merge pull request #161 from dpetzel/missing_sysv_test
Browse files Browse the repository at this point in the history
adding test for sysv recipe (lifted directly from upstart test)
  • Loading branch information
bflad committed Jun 24, 2014
2 parents d7dd821 + 40a99dc commit eee03c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions files/default/tests/minitest/sysv_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require File.expand_path('../support/helpers', __FILE__)

describe_recipe 'docker::sysv' do
include Helpers::Docker

it 'starts docker' do
if Helpers::Docker.using_docker_io_package?(node)
service('docker.io').must_be_running
else
service('docker').must_be_running
end
end
end

0 comments on commit eee03c2

Please sign in to comment.