diff options
author | Steve Azzopardi <steveazz@outlook.com> | 2019-01-04 10:58:11 +0100 |
---|---|---|
committer | Steve Azzopardi <steveazz@outlook.com> | 2019-01-07 17:29:26 +0100 |
commit | 935dc667178673022cc221f92e5b59ddcd839eaf (patch) | |
tree | f7ad24cb16b8d92597b791d9ada0b6fa63af464a /app/models/project.rb | |
parent | f9c8822afdddcd83434432dc2c36b87cc1886602 (diff) | |
download | gitlab-ce-935dc667178673022cc221f92e5b59ddcd839eaf.tar.gz |
Add explicit test for #latest_successful_build_for!
project.latest_successful_build_for! is being tested inside of `describe
explicit. In doing so some duplication was generated but not
`#latest_successful_build_for!` has full coverage unlike before.
Move `create_pipeline` & `create_build` as helper methods for this spec
to reduce duplication.
Diffstat (limited to 'app/models/project.rb')
0 files changed, 0 insertions, 0 deletions