Sha256: 4287f11141b7ca0fbc4778be307558afd0871590e86495af0f15f441a33ffea5

Contents?: true

Size: 443 Bytes

Versions: 7

Compression:

Stored size: 443 Bytes

Contents

require 'chef/mixin/shell_out'

module BluepillTestHelpers
  include Chef::Mixin::ShellOut

  include MiniTest::Chef::Assertions
  include MiniTest::Chef::Context
  include MiniTest::Chef::Resources

  MiniTest::Chef::Resources.register_resource(:bluepill_service)
  MiniTest::Chef::Infections.infect_resource(:bluepill_service, :enabled, :be_enabled)
  MiniTest::Chef::Infections.infect_resource(:bluepill_service, :running, :be_running)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
server_maint-0.0.8 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb
server_maint-0.0.7 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb
server_maint-0.0.6 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb
server_maint-0.0.5 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb
server_maint-0.0.4 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb
server_maint-0.0.3 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb
server_maint-0.0.2 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/files/default/tests/minitest/support/helpers.rb