From c66df8cd2cbd445bd7435db63c311254a35a4728 Mon Sep 17 00:00:00 2001 From: Francesco Date: Mon, 8 Jun 2015 09:48:21 +0100 Subject: [PATCH] Updating the test to see the changes to the mount pass parameter --- .../plugins/guests/linux/cap/mount_shared_folder_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb b/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb index 4d591e7fb..047d05e82 100644 --- a/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb +++ b/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb @@ -18,7 +18,7 @@ describe "VagrantPlugins::GuestLinux::Cap::MountSharedFolder" do describe ".mount_shared_folder" do describe "with a domain" do - let(:mount_command) { "mount -t cifs -o uid=`id -u `,gid=`getent group | cut -d: -f3`,sec=ntlm,username=user,pass=pass,domain=domain //host/name " } + let(:mount_command) { "mount -t cifs -o uid=`id -u `,gid=`getent group | cut -d: -f3`,sec=ntlm,username=user,password=pass,domain=domain //host/name " } before do communicator.expect_command mount_command communicator.stub_command mount_command, exit_code: 0 @@ -29,7 +29,7 @@ describe "VagrantPlugins::GuestLinux::Cap::MountSharedFolder" do end end describe "without a domain" do - let(:mount_command) { "mount -t cifs -o uid=`id -u `,gid=`getent group | cut -d: -f3`,sec=ntlm,username=user,pass=pass //host/name " } + let(:mount_command) { "mount -t cifs -o uid=`id -u `,gid=`getent group | cut -d: -f3`,sec=ntlm,username=user,password=pass //host/name " } before do communicator.expect_command mount_command communicator.stub_command mount_command, exit_code: 0 @@ -41,4 +41,4 @@ describe "VagrantPlugins::GuestLinux::Cap::MountSharedFolder" do end end end -end \ No newline at end of file +end