diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 11:59:07 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 11:59:07 +0000 |
commit | 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch) | |
tree | 544930fb309b30317ae9797a9683768705d664c4 /scripts/verify-tff-mapping | |
parent | 4b1de649d0168371549608993deac953eb692019 (diff) | |
download | gitlab-ce-8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca.tar.gz |
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'scripts/verify-tff-mapping')
-rwxr-xr-x | scripts/verify-tff-mapping | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/verify-tff-mapping b/scripts/verify-tff-mapping index 1f73753be82..1c66e19df50 100755 --- a/scripts/verify-tff-mapping +++ b/scripts/verify-tff-mapping @@ -28,9 +28,9 @@ tests = [ }, { - explanation: 'Some EE extensions also map to its EE class spec, but this is not recommended: https://docs.gitlab.com/ee/development/ee_features.html#testing-ee-features-based-on-ce-features', - source: 'ee/app/models/ee/user.rb', - expected: ['ee/spec/models/user_spec.rb', 'spec/models/user_spec.rb'] + explanation: 'Some EE extensions have specs placement that do not follow the recommendation: https://docs.gitlab.com/ee/development/ee_features.html#testing-ee-features-based-on-ce-features. `tff` should still find these misplaced specs.', + source: 'ee/app/models/ee/project.rb', + expected: ['ee/spec/models/project_spec.rb', 'spec/models/project_spec.rb'] }, { @@ -53,8 +53,8 @@ tests = [ { explanation: 'EE spec code should map to itself', - source: 'ee/spec/models/user_spec.rb', - expected: ['ee/spec/models/user_spec.rb'] + source: 'ee/spec/models/ee/user_spec.rb', + expected: ['ee/spec/models/ee/user_spec.rb', 'spec/models/user_spec.rb'] }, { |