Fix failing test

pull/16382/head
Moisés Calzado 3 years ago
parent b0118e8756
commit f06c6a1d35

@ -217,7 +217,8 @@ describe Unp do
end
it 'raises if unp is not found' do
Open3.expects('capture3').with('which unp').returns [0, 0, 1]
Open3.stub(:capture3).and_return([0, 0, 1])
unp = Unp.new
expect { unp.command_for('wadus') }.to raise_error InstallError

Loading…
Cancel
Save