From b144dfa3faa28fcd6bea7f793c3f589165dce130 Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Fri, 2 Aug 2024 22:26:33 -0700 Subject: [PATCH] Update spec tests Signed-off-by: Lance Albertson --- spec/docker_test/installation_package_spec.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/docker_test/installation_package_spec.rb b/spec/docker_test/installation_package_spec.rb index ac76900dc..aa9b6df68 100644 --- a/spec/docker_test/installation_package_spec.rb +++ b/spec/docker_test/installation_package_spec.rb @@ -1,13 +1,13 @@ require 'spec_helper' describe 'docker_test::installation_package' do - platform 'ubuntu', '18.04' + platform 'ubuntu' step_into :docker_installation_package cached(:subject) { chef_run } context 'Ubuntu: testing default action, default properties' do it 'installs docker' do - expect(chef_run).to create_docker_installation_package('default').with(version: '20.10.11') + expect(chef_run).to create_docker_installation_package('default') end it do @@ -23,7 +23,7 @@ context 'Ubuntu (aarch64): testing default action, default properties' do automatic_attributes['kernel']['machine'] = 'aarch64' it 'installs docker' do - expect(chef_run).to create_docker_installation_package('default').with(version: '20.10.11') + expect(chef_run).to create_docker_installation_package('default') end it do @@ -39,7 +39,7 @@ context 'Ubuntu (ppc64le): testing default action, default properties' do automatic_attributes['kernel']['machine'] = 'ppc64le' it 'installs docker' do - expect(chef_run).to create_docker_installation_package('default').with(version: '20.10.11') + expect(chef_run).to create_docker_installation_package('default') end it do @@ -53,10 +53,10 @@ end context 'CentOS: testing default action, default properties' do - platform 'centos', '8' + platform 'centos' cached(:subject) { chef_run } it 'installs docker' do - expect(chef_run).to create_docker_installation_package('default').with(version: '3:20.10.11') + expect(chef_run).to create_docker_installation_package('default') end it do expect(chef_run).to create_yum_repository('Docker').with( @@ -75,7 +75,7 @@ automatic_attributes['kernel']['machine'] = 's390x' it 'installs docker' do - expect(chef_run).to create_docker_installation_package('default').with(version: '3:20.10.11') + expect(chef_run).to create_docker_installation_package('default') end it do expect(chef_run).to create_yum_repository('Docker').with(