added tests

This commit is contained in:
Oleg Hasjanov 2021-05-14 15:00:12 +03:00
parent 9f1cf8f620
commit c22232ce07
4 changed files with 24 additions and 4 deletions

View file

@ -4,7 +4,6 @@ module Domain::Releasable
class_methods do
def release_domains
releasable_domains.each do |domain|
domain.release
yield domain if block_given?
end