diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-18 12:09:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-18 12:09:02 +0300 |
commit | 28724c880bbd3e1b5c9ef0d01e8856024c77ca6a (patch) | |
tree | 3d7041623fdaddca81dbd298de334580d31b0d4b /doc/development/ee_features.md | |
parent | 0b81231d2d967460a5eb1abfd4cd930988c84616 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/ee_features.md')
-rw-r--r-- | doc/development/ee_features.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/ee_features.md b/doc/development/ee_features.md index 26a1e9ec3aa..c2c704f75c2 100644 --- a/doc/development/ee_features.md +++ b/doc/development/ee_features.md @@ -122,10 +122,10 @@ This is also not just applied to models. Here's a list of other examples: To test an `EE` namespaced module that extends a CE class with EE features, create the spec file as you normally would in the `ee/spec` directory, including the second `ee/` subdirectory. -For example, an extension `ee/app/models/ee/user.rb` would have its tests in `ee/app/models/ee/user_spec.rb`. +For example, an extension `ee/app/models/ee/user.rb` would have its tests in `ee/spec/models/ee/user_spec.rb`. In the `RSpec.describe` call, use the CE class name where the EE module would be used. -For example, in `ee/app/models/ee/user_spec.rb`, the test would start with: +For example, in `ee/spec/models/ee/user_spec.rb`, the test would start with: ```ruby RSpec.describe User do |