From c94e7653915bc4328d63a0d8e62ba9fa3e29957e Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 12 May 2014 23:17:04 -0300 Subject: [PATCH] Fix the build --- spec/unit/driver_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/driver_spec.rb b/spec/unit/driver_spec.rb index 861a629..477ba48 100644 --- a/spec/unit/driver_spec.rb +++ b/spec/unit/driver_spec.rb @@ -84,7 +84,7 @@ describe Vagrant::LXC::Driver do subject { described_class.new('name', sudo, cli) } before do - sudo.should_receive(:run).with('cat', '/var/lib/lxc/name/config').exactly(3).times. + sudo.should_receive(:run).with('cat', '/var/lib/lxc/name/config').exactly(2).times. and_return('# CONFIGURATION') sudo.should_receive(:run).twice.with('cp', '-f', %r{/tmp/.*}, '/var/lib/lxc/name/config') sudo.should_receive(:run).twice.with('chown', 'root:root', '/var/lib/lxc/name/config')