After running tests for potassium itself, containers are not dropped, so they fill the host's computer with dummy/useless containers. The after block in database_container_spec.rb should be available as a helper or default behavior for every other spec.
In the same line, databases and directories should be removed as a default behavior after every spec. They are usually deleted in a before(:all) block in every recipe's spec, but that's because they are not deleted in the previous spec. That should be done in an after block in every spec, or in a default helper.
After running tests for potassium itself, containers are not dropped, so they fill the host's computer with dummy/useless containers. The
after
block indatabase_container_spec.rb
should be available as a helper or default behavior for every other spec.In the same line, databases and directories should be removed as a default behavior after every spec. They are usually deleted in a
before(:all)
block in every recipe's spec, but that's because they are not deleted in the previous spec. That should be done in anafter
block in every spec, or in a defaulthelper
.