From 0bcdeb02688c8790ecf518f5748f8af655e5451d Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 10 May 2024 17:02:11 +0200 Subject: [PATCH] Update spec/beaker/host/unix/exec_spec.rb Co-authored-by: Ewoud Kohl van Wijngaarden --- spec/beaker/host/unix/exec_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/beaker/host/unix/exec_spec.rb b/spec/beaker/host/unix/exec_spec.rb index 2cd6d04a0..267f8eaad 100644 --- a/spec/beaker/host/unix/exec_spec.rb +++ b/spec/beaker/host/unix/exec_spec.rb @@ -143,7 +143,7 @@ def to_s describe '#prepend_commands' do it 'returns the pc parameter unchanged for all platforms' do - allow(instance).to receive(:[]).with(:platform).and_return('notcisco') + allow(instance).to receive(:[]).with(:platform).and_return('unix') answer_prepend_commands = 'pc_param_unchanged_13579' answer_test = instance.prepend_commands('fake_cmd', answer_prepend_commands) expect(answer_test).to be === answer_prepend_commands