fix invalid options spec

This commit is contained in:
Jorge Morante 2020-12-29 08:47:45 +01:00
parent 70d1dedacb
commit 914c3ba37e
2 changed files with 3 additions and 1 deletions

View File

@ -166,6 +166,7 @@ describe 'acceptance', :retry => 3 do
context 'config options validation' do
let(:config_name) { 'invalid' }
let(:wait_for_initial_clear) { false }
before do
zzz 5

View File

@ -18,6 +18,7 @@ shared_context 'tmuxomatic setup', a: :b do
let(:tmuxomatic_pane_id) { tmuxomatic.panes.first['pane_id'] }
let(:tmuxomatic_window_id) { tmuxomatic.panes.first['window_id'] }
let(:wait_for_initial_clear) { true }
# Like sleep, but slower on CI lol
def zzz(amount)
@ -134,7 +135,7 @@ shared_context 'tmuxomatic setup', a: :b do
exec("export PROMPT_COMMAND='#{tmuxomatic_unlock_path}'", wait: false)
zzz 1.0
exec('clear')
exec('clear', wait: wait_for_initial_clear)
end
after do