• Lin Jen-Shin's avatar
    WIP: Add tests and make sure that headers are set · 8c9a4ed3
    Lin Jen-Shin authored
    * We realized that headers were not set whenever we give 204
      because `render_api_error!` doesn't preserve the headers.
    
    * We also realized that `update_runner_info` would be called in
      POST /builds/register every time therefore runner is updated
      every time, ticking the queue, making this last_update didn't
      work very well, and the test would be failing due to that.
    8c9a4ed3
builds.rb 7.72 KB