Commit 6e173ec6 authored by Colin Shea's avatar Colin Shea

update tests to reflect new file name

parent 5e72620b
......@@ -33,9 +33,9 @@ class GeneratorTest < Minitest::Test
@gen.generate
end
assert File.exists? File.expand_path(@config['output'] + '/zones/example.com.zone', @gen.basedir)
named_conf = File.expand_path(@config['output'] + '/named.conf', @gen.basedir)
assert File.exists? named_conf
assert File.foreach(named_conf).grep(/zone "example\.com"/)
zones_conf = File.expand_path(@config['output'] + '/zones.conf', @gen.basedir)
assert File.exists? zones_conf
assert File.foreach(zones_conf).grep(/zone "example\.com"/)
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment