Fix freeing list of running containers

This commit is contained in:
Andre Nathan 2013-12-23 12:03:54 -02:00
parent dd6f1ba24d
commit 9365da3111
2 changed files with 14 additions and 2 deletions

View file

@ -98,4 +98,10 @@ class TestLXCRunning < Test::Unit::TestCase
end
end
end
def test_container_listed
containers = LXC.list_containers
assert_equal(1, containers.length)
assert_equal(@name, containers.first)
end
end