From d1ad67e33334bd5f5657e432a4b72e05614e101e Mon Sep 17 00:00:00 2001 From: Jeff Bonhag Date: Thu, 30 Jan 2020 13:40:01 -0500 Subject: [PATCH] No need to explicitly set UNSET_VALUE --- test/unit/plugins/provisioners/shell/config_test.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/unit/plugins/provisioners/shell/config_test.rb b/test/unit/plugins/provisioners/shell/config_test.rb index cda5de47a..ba02ea2b6 100644 --- a/test/unit/plugins/provisioners/shell/config_test.rb +++ b/test/unit/plugins/provisioners/shell/config_test.rb @@ -7,7 +7,6 @@ describe "VagrantPlugins::Shell::Config" do let(:machine) { double('machine', env: Vagrant::Environment.new) } let(:file_that_exists) { File.expand_path(__FILE__) } - let(:unset_value) { Vagrant::Plugin::V2::Config::UNSET_VALUE } subject { described_class.new } @@ -146,7 +145,6 @@ describe "VagrantPlugins::Shell::Config" do it "returns no error if upload_path is unset" do subject.inline = "script" - subject.upload_path = unset_value subject.finalize! result = subject.validate(machine) @@ -172,7 +170,6 @@ describe "VagrantPlugins::Shell::Config" do end it "no longer sets a default for upload_path" do - subject.upload_path = unset_value subject.finalize! expect(subject.upload_path).to eq(nil)