diff --git a/test/unit/vagrant/environment_test.rb b/test/unit/vagrant/environment_test.rb index f0499e416..42cce8572 100644 --- a/test/unit/vagrant/environment_test.rb +++ b/test/unit/vagrant/environment_test.rb @@ -205,7 +205,7 @@ describe Vagrant::Environment do subject.lock do begin - another.lock + another.lock {} rescue Vagrant::Errors::EnvironmentLockedError raised = true end