summaryrefslogtreecommitdiffstats
path: root/features/step_definitions/git.rb
blob: bf6f869d129a15fbdec681801a78e169efe3b1d6 (plain)
1
2
3
4
5
6
Then /^the Git repository "([\S]+)" has been cloned successfully$/ do |repo|
  assert($vm.directory_exist?("/home/#{LIVE_USER}/#{repo}/.git"))
  assert($vm.file_exist?("/home/#{LIVE_USER}/#{repo}/.git/config"))
  $vm.execute_successfully("cd '/home/#{LIVE_USER}/#{repo}/' && git status",
                           :user => LIVE_USER)
end