Commit b2f997e4 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix test failures

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