-
- Downloads
There was an error fetching the commit references. Please try again later.
Add all the tests and fix stuffs along the way:
It turns out they are different: builds.success.latest.first and builds.latest.success.first If we put success first, that latest would also filter via success, and which is what we want here.
Showing
- app/controllers/projects/artifacts_controller.rb 1 addition, 1 deletionapp/controllers/projects/artifacts_controller.rb
- config/routes.rb 1 addition, 1 deletionconfig/routes.rb
- spec/requests/projects/artifacts_controller_spec.rb 145 additions, 0 deletionsspec/requests/projects/artifacts_controller_spec.rb
- spec/spec_helper.rb 3 additions, 3 deletionsspec/spec_helper.rb
Loading
-
@smcgivern This is the end result. Thanks again!
-
Awesome stuff @godfat!
🎉 ✨
Please register or sign in to comment