mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
add basic test structure--still a WIP. Add test for setting domain name
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user