[DRE-commits] [vagrant-libvirt] 07/163: add basic test structure--still a WIP. Add test for setting domain name
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Apr 24 13:56:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to annotated tag 0.0.26
in repository vagrant-libvirt.
commit dce9cd9b6f9b9ffef47268f4204df0b29f8db9f8
Author: Bradley Smith <brad.smith at sendgrid.com>
Date: Sat Jul 5 18:02:52 2014 -0600
add basic test structure--still a WIP. Add test for setting domain name
---
lib/vagrant-libvirt/action/set_name_of_domain.rb | 1 +
spec/support/environment_helper.rb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/vagrant-libvirt/action/set_name_of_domain.rb b/lib/vagrant-libvirt/action/set_name_of_domain.rb
index dc6e711..026a739 100644
--- a/lib/vagrant-libvirt/action/set_name_of_domain.rb
+++ b/lib/vagrant-libvirt/action/set_name_of_domain.rb
@@ -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
diff --git a/spec/support/environment_helper.rb b/spec/support/environment_helper.rb
index 0e9fd89..5cbf582 100644
--- a/spec/support/environment_helper.rb
+++ b/spec/support/environment_helper.rb
@@ -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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git
More information about the Pkg-ruby-extras-commits
mailing list