From 0618fa9190f7e7d641738822f784879fd80d89be Mon Sep 17 00:00:00 2001 From: Mark John Merin Date: Fri, 11 Feb 2022 14:19:14 -0800 Subject: [PATCH] update test to use new command parameters --- spec/unit/libraries/security_cmd_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/libraries/security_cmd_spec.rb b/spec/unit/libraries/security_cmd_spec.rb index 17467b7..eef8eba 100644 --- a/spec/unit/libraries/security_cmd_spec.rb +++ b/spec/unit/libraries/security_cmd_spec.rb @@ -63,7 +63,7 @@ describe MacOS::SecurityCommand, 'certificate creation commands' do context 'adding a certificate (.cer) to a certain keychain' do it 'adds a specified .cer certificate file' do - expect(cer_cert_kc.add_certificates).to eq ['/usr/bin/security', 'add-certificates', '/Users/vagrant/Test.cer', '-k', 'test.keychain'] + expect(cer_cert_kc.add_certificates).to eq ['/usr/bin/security', 'add-certificates', '-k', 'test.keychain', '/Users/vagrant/Test.cer'] end end