Allow start(:single_arg => value)

This commit is contained in:
John Keiser 2014-03-27 07:41:48 -07:00
parent 8593a693ae
commit 645833c77a
2 changed files with 20 additions and 4 deletions

View file

@ -51,4 +51,16 @@ class TestLXCCreated < Test::Unit::TestCase
rerenamed = renamed.rename(@name)
assert_equal(@name, rerenamed.name)
end
def test_start
@container.stop if @container.running?
@container.start
assert(@container.running?)
end
def test_start_with_args
@container.stop if @container.running?
@container.start(:close_fds => true)
assert(@container.running?)
end
end