Skip to content

Commit

Permalink
fix archiveSpecs.erv
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Semenov committed Nov 8, 2023
1 parent 6b41dca commit b0d255f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/classes/archive_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

context 'default' do
it { is_expected.not_to contain_package('7zip') }
it { is_expected.not_to contain_file('/opt/awscli-bundle') }
it { is_expected.not_to contain_archive('awscli-bundle.zip') }
it { is_expected.not_to contain_file('/opt/aws') }
it { is_expected.not_to contain_archive('awscli-exe-linux-x86_64.zip') }
it { is_expected.not_to contain_exec('install_aws_cli') }
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_class('archive::params') }
Expand All @@ -28,8 +28,8 @@
}
end

it { is_expected.to contain_file('/opt/awscli-bundle') }
it { is_expected.to contain_archive('awscli-bundle.zip') }
it { is_expected.to contain_file('/opt/aws') }
it { is_expected.to contain_archive('awscli-exe-linux-x86_64.zip') }
it { is_expected.to contain_exec('install_aws_cli') }
end

Expand Down Expand Up @@ -69,7 +69,7 @@
)
end

it { is_expected.not_to contain_archive('awscli-bundle.zip') }
it { is_expected.not_to contain_archive('awscli-exe-linux-x86_64.zip') }
end

context 'with 7zip msi package' do
Expand Down

0 comments on commit b0d255f

Please sign in to comment.