You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
rjherrera
changed the title
Docker containers should be erased after each test
Temporary data (docker containers, directories, databases) should be erased after each test
Jul 12, 2019
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
.The text was updated successfully, but these errors were encountered: