puppet-openstacklib/spec
Alex Schultz ad4d6b304e Switch to Facter.flush
Facter.clear clears all cached values and removes all facts from memory
where Facter.flush just clears the cached values. This should reduce the
time it takes to actually run the unit tests as it all the other facts
we're touching won't be removed from memory.

Also we only need to do it before the tests, not before and after.

Change-Id: I9a24dc9f74cb3b59508b12e63a078068c26c1442
(cherry picked from commit b5bd19a630)
2017-12-26 16:03:44 +00:00
..
acceptance Fix beaker tests to use openstack_integration for RabbitMQ 2017-09-20 17:29:32 +00:00
classes Improve tests with rspec-puppet-facts 2016-10-26 17:49:59 -06:00
defines apache wsgi: Exchange defaults for workers and threads 2017-09-20 17:30:07 +00:00
functions Allow integer port in os_transport_url 2017-02-22 10:40:31 +01:00
unit Switch to Facter.flush 2017-12-26 16:03:44 +00:00
shared_examples.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-31 12:13:33 +02:00
spec_helper.rb Move rspec-puppet-facts to spec helper 2016-09-30 13:25:05 -06:00
spec_helper_acceptance.rb Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-18 09:11:30 -05:00