added template content tests
Added content tests for all other templates, Added some negation tests, and where applicable, platform tests for RHEL vs Ubuntu
This commit is contained in:
@@ -50,6 +50,7 @@ def expect_creates_cinder_conf service, action=:restart
|
||||
expect(@chef_run).to create_file_with_content "/etc/cinder/cinder.conf", "rbd_pool=rbd"
|
||||
expect(@chef_run).to create_file_with_content "/etc/cinder/cinder.conf", "iscsi_helper=tgtadm"
|
||||
expect(@chef_run).to create_file_with_content "/etc/cinder/cinder.conf", "RBDDriver"
|
||||
expect(@chef_run).not_to create_file_with_content "/etc/cinder/cinder.conf", "NetAppISCSIDriver"
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user