Sha256: 6165dc8ac759c2e613366d6b1ed0a8afdbef4a3965beafe1aada251ec2acc63b
Contents?: true
Size: 522 Bytes
Versions: 35
Compression:
Stored size: 522 Bytes
Contents
require_relative "../../../base" require "vagrant/util/template_renderer" describe "templates/guests/funtoo/network_dhcp" do let(:template) { "guests/funtoo/network_dhcp" } it "renders the template" do result = Vagrant::Util::TemplateRenderer.render(template, options: { device: "en0", }) expect(result).to eq <<-EOH.gsub(/^ {6}/, "") #VAGRANT-BEGIN # The contents below are automatically generated by Vagrant. Do not modify. template='dhcp' #VAGRANT-END EOH end end
Version data entries
35 entries across 31 versions & 7 rubygems