diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-03-26 20:26:52 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-03-28 15:00:05 +0300 |
commit | 6ecde0076afa83e30608ea9caba924bbab66a123 (patch) | |
tree | 0bf675fb79bdf752afb0ed4e6765c7d9800cfc13 /spec/requests/api/runner_spec.rb | |
parent | 403decbbad26bea620125aed34b440a9b6611172 (diff) |
Remove Ci::Build#timeout
Diffstat (limited to 'spec/requests/api/runner_spec.rb')
-rw-r--r-- | spec/requests/api/runner_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb index 4703c64c534..5084b36c761 100644 --- a/spec/requests/api/runner_spec.rb +++ b/spec/requests/api/runner_spec.rb @@ -360,12 +360,12 @@ describe API::Runner do let(:expected_steps) do [{ 'name' => 'script', 'script' => %w(ls date), - 'timeout' => job.timeout, + 'timeout' => job.metadata_timeout, 'when' => 'on_success', 'allow_failure' => false }, { 'name' => 'after_script', 'script' => %w(ls date), - 'timeout' => job.timeout, + 'timeout' => job.metadata_timeout, 'when' => 'always', 'allow_failure' => true }] end |