cookbook-openstack-common/attributes
Lance Albertson 4000e8aa96 Improve ChefSpec test speed by enabling caching
This updates all references of let(:chef_run) to cached(:chef_run) to speed up
tests. By doing this, we have to create a new cached(:chef_run) block whenever
we need to adjust node attributes for testing.

Some additional fixes include:
- Add default['openstack']['common']['search_count_max'] attribute to allow speed
  ups during testing.
- Improved a few tests
- Adjusted some formatting
- Remove deprecated ChefSpec::Coverage.start function
- Show warnings
- Use major version for redhat platform
- Update to Ubuntu 18.04

Speed was improved from 4 minutes 16 seconds to 41.98 seconds.

Change-Id: Icb9147036a01f92ec48a24c692dd022258e294c0
2020-01-06 11:34:18 -08:00
..
database.rb Use python3 packages on Ubuntu 2019-11-21 10:47:19 +00:00
default.rb Improve ChefSpec test speed by enabling caching 2020-01-06 11:34:18 -08:00
messaging.rb Convert hyphens to underscores for service names 2018-12-15 00:16:38 -08:00