Adding ChefSpec::Converge to spec_helper.rb

Change-Id: I1e6cc97c4ebdf35e3f023d4c6d9c5be4033aab3d
Addresses: blueprint lint-and-unit-testing-for-havana
This commit is contained in:
galstrom21 2014-02-18 12:48:03 +00:00
parent 15a08ff267
commit e7eb1b41f7
1 changed files with 6 additions and 0 deletions

View File

@ -92,3 +92,9 @@ def expect_creates_policy_json(service, user, group, action = :restart) # ruboco
end
end
end
# README(galstrom21): This will remove any coverage warnings from
# dependent cookbooks
ChefSpec::Coverage.filters << '*/openstack-block-storage'
at_exit { ChefSpec::Coverage.report! }