Commit b2f997e4 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix test failures

parent 0383b482
......@@ -8,11 +8,9 @@ class BuildEntity < Grape::Entity
path_to(:namespace_project_job, build)
end
expose :build_failed_options, if: -> (*) { build.retryable? } do
expose :retry_path do |build|
expose :retry_path, if: -> (*) { build&.retryable? } do |build|
path_to(:retry_namespace_project_job, build)
end
end
expose :play_path, if: -> (*) { playable? } do |build|
path_to(:play_namespace_project_job, build)
......
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