Allow start(:single_arg => value)
This commit is contained in:
parent
8593a693ae
commit
645833c77a
2 changed files with 20 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue