spec/beaker/host/mac/exec_spec.rb in beaker-4.38.1 vs spec/beaker/host/mac/exec_spec.rb in beaker-4.39.0

- old
+ new

@@ -18,12 +18,12 @@ "me" end end - let (:opts) { @opts || {} } - let (:logger) { double( 'logger' ).as_null_object } - let (:instance) { MacExecTest.new(opts, logger) } + let(:opts) { @opts || {} } + let(:logger) { double( 'logger' ).as_null_object } + let(:instance) { MacExecTest.new(opts, logger) } describe '#selinux_enabled?' do it 'does not call selinuxenabled' do expect(Beaker::Command).not_to receive(:new).with("sudo selinuxenabled") expect(instance).not_to receive(:exec).with(0, :accept_all_exit_codes => true)