require 'spec_helper' require_relative '../../libraries/helpers_service' describe 'docker_test::service' do before do allow_any_instance_of(DockerCookbook::DockerHelpers::Service).to receive(:installed_docker_version).and_return('18.06.0') end cached(:chef_run) do ChefSpec::SoloRunner.new(platform: 'ubuntu', version: '16.04', step_into: %w(helpers_service docker_service docker_service_base docker_service_manager docker_service_manager_systemd)).converge(described_recipe) end # If you have to change this file you most likely updated a default service option # Please note that it will require a docker service restart # Which is consumer impacting expected = <