From b2de23f4c468f2c128f507919086fc4b605c9f5b Mon Sep 17 00:00:00 2001 From: Diego Araújo Date: Mon, 22 Feb 2016 14:36:18 -0300 Subject: [PATCH] Make repository processing wait step fail on errors --- features/step_definitions/repository_steps.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/features/step_definitions/repository_steps.rb b/features/step_definitions/repository_steps.rb index aae714e..b7aa2b9 100644 --- a/features/step_definitions/repository_steps.rb +++ b/features/step_definitions/repository_steps.rb @@ -59,6 +59,7 @@ end Given(/^I wait up for a ready processing$/) do while !@repository.has_ready_processing + expect(@repository.last_processing_state).to_not eq "ERROR" sleep(10) end end -- libgit2 0.21.2