diff --git a/spec/git_rubocop_spec.rb b/spec/git_rubocop_spec.rb index 9719de5..a0332ba 100644 --- a/spec/git_rubocop_spec.rb +++ b/spec/git_rubocop_spec.rb @@ -72,11 +72,11 @@ def foo() file('foo.rb').write(bad_rb) file('bar.rb').write(bad_rb) git_add('.') - run('gc Fail rubocop', exit_with: be_nonzero, wait: 5) + run('gc Fail rubocop', exit_with: be_nonzero, wait: 10) run('git_rebasing') # paused rebase for fixing file('foo.rb').write(good_rb) file('bar.rb').write(good_rb) - run('grc', wait: 5) do |cmd| + run('grc', wait: 10) do |cmd| expect(cmd).to have_output(stdout: end_with('(1/1) Stage this hunk [y,n,q,a,d,e,?]? '), wait: 10) cmd.stdin.puts('y') @@ -130,7 +130,7 @@ def foo() # manually lint, TODO: remove this step run('git_stash_only_untracked') - run('git_autolint_head', wait: 5) + run('git_autolint_head', wait: 10) run('git_rebasing', exit_with: be_nonzero) run('git stash pop') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 126e98c..d6ddfa5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -21,7 +21,7 @@ def warn(msg) # leftovers:allow require 'simplecov' if ENV['COVERAGE'] require_relative 'speckly/rspec' -Speckly.default_max_wait_time = 5 +Speckly.default_max_wait_time = 10 Speckly.default_command_prefix = [] Dir.glob(File.expand_path('support/**/*.rb', __dir__)).each do |file|