summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-05-21 14:07:37 -0700
committerStan Hu <stanhu@gmail.com>2019-05-21 23:19:07 -0700
commit37a335e60edd4f4c8b61fd2f9ffe0f1d27e3bfb8 (patch)
tree1e1d0aad5fdfe0ba1a9cecae6c402313b7be5c54 /jest.config.js
parentd707e2a49f2efe4670b5ebe62fb61554640ca7e9 (diff)
downloadgitlab-ce-37a335e60edd4f4c8b61fd2f9ffe0f1d27e3bfb8.tar.gz
Fix remaining failures in shoulda-matcher
Starting with Rails 5, belongs_to now adds a presence validation to the association, and so as of shoulda-matchers 4.0.0 the belong_to matcher follows suit and tests that this validation is there by setting the association to nil and asserting that there are validation errors. This exposed an error with the `validate_branches` method: we need to check the source and target project exist.
Diffstat (limited to 'jest.config.js')
0 files changed, 0 insertions, 0 deletions