Commit c46445af authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix specs

parent 3441b4f9
......@@ -18,6 +18,7 @@ module Ci
if current_runner.is_runner_queue_value_latest?(params[:last_update])
header 'X-GitLab-Last-Update', params[:last_update]
Gitlab::Metrics.add_event(:build_not_found_cached)
return build_not_found!
end
......
......@@ -171,7 +171,7 @@ module Ci
end
def execute(runner)
described_class.new(runner).execute
described_class.new(runner).execute.first
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment