first round of assertions on cinder.conf.erb

This commit is contained in:
alop
2013-05-09 09:07:24 -07:00
parent ee9fadde64
commit 299b41415d

View File

@@ -44,7 +44,8 @@ def expect_creates_cinder_conf service, action=:restart
end
it "template contents" do
pending "TODO: implement"
chef_run.node.set['cinder']['custom_template_banner'] = 'chef spec test'
expect(@file).to create_file_with_content '/etc/cinder/cinder.conf', 'chef spec test'
end
it "notifies nova-api-ec2 restart" do