소스 검색

Test should be passing block to RSpec wait_for

Fixes flaky test
pull/221/head
Eric Freese 7 년 전
부모
커밋
468b7403e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      spec/integrations/client_zpty_spec.rb

+ 1
- 1
spec/integrations/client_zpty_spec.rb 파일 보기

@ -5,6 +5,6 @@ describe 'a running zpty command' do
sleep 1 # Give a little time for precmd hooks to run
session.run_command('zpty -t kitty; echo $?')
wait_for(session.content).to end_with("\n0")
wait_for { session.content }.to end_with("\n0")
end
end

불러오는 중...
취소
저장