Commit bac47b4f authored by Tails developers's avatar Tails developers

Use execute_successfully instead of manual assert.

(And actually, I suspect that assert would not work anyway.)
parent 07317ee5
......@@ -2,5 +2,5 @@ Then /^the Git repository "([\S]+)" has been cloned successfully$/ do |repo|
next if @skip_steps_while_restoring_background
assert(@vm.directory_exist?("/home/#{$live_user}/#{repo}/.git"))
assert(@vm.file_exist?("/home/#{$live_user}/#{repo}/.git/config"))
assert(@vm.execute("cd /home/#{$live_user}/#{repo}/ && git status", $live_user))
@vm.execute_successfully("cd /home/#{$live_user}/#{repo}/ && git status", $live_user)
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment