fix lctp-network_spec

This commit is contained in:
Jörg Thalheim 2014-02-03 15:07:03 +01:00
parent 35650767e0
commit fd19d6b943

View File

@ -17,7 +17,7 @@ describe 'lctp-network::default' do
end end
it "should include cookbooks" do it "should include cookbooks" do
chef_run.should render_file("/etc/network/interfaces") chef_run.should render_file("/etc/network/interfaces")
chef_run.should render_file("/etc/resolv.conf"). chef_run.should render_file("/etc/resolvconf/resolv.conf.d/head").
with_content("127.0.0.1").with_content("lctp") with_content("127.0.0.1").with_content("lctp")
eth0 = chef_run.find_resource(:network_interfaces, "eth0") eth0 = chef_run.find_resource(:network_interfaces, "eth0")