diff --git a/spec/classes/apt_spec.rb b/spec/classes/apt_spec.rb index 51cc7eb459..dee693c392 100644 --- a/spec/classes/apt_spec.rb +++ b/spec/classes/apt_spec.rb @@ -268,9 +268,7 @@ } it { - expect(subject).to contain_exec('apt_update').with(refreshonly: false, - timeout: 1, - tries: 3) + expect(subject).to contain_exec('apt_update').with(refreshonly: false) } end @@ -308,9 +306,7 @@ } it { - expect(subject).to contain_exec('apt_update').with(refreshonly: false, - timeout: 1, - tries: 3) + expect(subject).to contain_exec('apt_update').with(refreshonly: false) } end