summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2019-01-04 10:58:11 +0100
committerSteve Azzopardi <steveazz@outlook.com>2019-01-07 17:29:26 +0100
commit935dc667178673022cc221f92e5b59ddcd839eaf (patch)
treef7ad24cb16b8d92597b791d9ada0b6fa63af464a /app/models/project.rb
parentf9c8822afdddcd83434432dc2c36b87cc1886602 (diff)
downloadgitlab-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