add basic test structure--still a WIP. Add test for setting domain name

This commit is contained in:
Bradley Smith
2014-07-05 18:02:52 -06:00
parent 659ee41152
commit dce9cd9b6f
2 changed files with 2 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ module VagrantPlugins
# build domain name
# avoids `domain about to create is already taken`
# parsable and sortable by epoch time
# @example
# development-centos-6-chef-11_1404488971_3b7a569e2fd7c554b852
# @return [String] libvirt domain name

View File

@@ -3,7 +3,7 @@ require "pathname"
class EnvironmentHelper
attr_writer :default_prefix
attr_writer :default_prefix, :domain_name
def [](value)
self.send(value.to_sym)