Skip to content

Commit

Permalink
Updates test to allow 15 characters
Browse files Browse the repository at this point in the history
Signed-off-by: Mark E. Schill <Mark.Schill@cmschill.net>
  • Loading branch information
PowerSchill committed May 30, 2019
1 parent cd0f4bb commit 13827f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/kitchen/driver/vagrant_spec.rb
Expand Up @@ -465,10 +465,10 @@ def run_command(_cmd, options = {})
expect(driver[:vm_hostname]).to eq(nil)
end

it "sets :vm_hostname to a custom value, truncated to 12 chars" do
it "sets :vm_hostname to a custom value, truncated to 15 chars" do
config[:vm_hostname] = "this-is-a-pretty-long-name-ya-think"

expect(driver[:vm_hostname]).to eq("this-is-a--k")
expect(driver[:vm_hostname]).to eq("this-is-a-pr-k")
end

it "replaces %{instance_name} with instance name in :synced_folders" do
Expand Down

0 comments on commit 13827f3

Please sign in to comment.