-
Richard Clamp authored
chef_helper loads a lot of chef related testing libraries, and includes a call to ohai to configure them. This is not always needed when testing library code/rake tasks. When running examples directly from the command-line during development we can see a speedup of around 1.5 seconds, by using the reduced `spec_helper` rather than the full `chef_helper`.
Richard Clamp authoredchef_helper loads a lot of chef related testing libraries, and includes a call to ohai to configure them. This is not always needed when testing library code/rake tasks. When running examples directly from the command-line during development we can see a speedup of around 1.5 seconds, by using the reduced `spec_helper` rather than the full `chef_helper`.
repmgr_helper_spec.rb 4.77 KiB