Updating the test to see the changes to the mount pass parameter

This commit is contained in:
Francesco 2015-06-08 09:48:21 +01:00
parent ca8923835a
commit c66df8cd2c
1 changed files with 3 additions and 3 deletions

View File

@ -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
end