Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-17 14:59:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-17 14:59:07 +0300
commit8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch)
tree544930fb309b30317ae9797a9683768705d664c4 /scripts/verify-tff-mapping
parent4b1de649d0168371549608993deac953eb692019 (diff)
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'scripts/verify-tff-mapping')
-rwxr-xr-xscripts/verify-tff-mapping10
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']
},
{