This commit is contained in:
dima
2016-12-06 23:20:29 +01:00
parent b92b02b6d6
commit c1898be3d6
49 changed files with 712 additions and 799 deletions

View File

@@ -1,14 +1,13 @@
require "ostruct"
require "pathname"
require 'ostruct'
require 'pathname'
class EnvironmentHelper
attr_writer :domain_name
attr_accessor :random_hostname, :name, :default_prefix
def [](value)
self.send(value.to_sym)
send(value.to_sym)
end
def cpus
@@ -34,15 +33,14 @@ class EnvironmentHelper
end
def root_path
Pathname.new("./spec/support/foo")
Pathname.new('./spec/support/foo')
end
def domain_name
#noop
# noop
end
def libvirt_compute
OpenStruct.new(servers: [])
end
end