diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-04-14 00:04:55 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-04-14 00:04:55 +0300 |
| commit | b6c6adfa51581e933ea0693c5a3df74ef2f4b629 (patch) | |
| tree | d2fee9c6067ae143c647445803d6e70e9eb3236e /doc/api/snippets.md | |
| parent | 6106cad9559633cf69876ef5185b361df2a30123 (diff) | |
| download | gitlab-ce-b6c6adfa51581e933ea0693c5a3df74ef2f4b629.tar.gz | |
Update invalid test application_settings_controller_spec.rb
There are 2 problems with this spec:
1. It checks for default visiblity level however there is not code in
controller to handle such default. Same check can be performed on model
directly.
2. It passes empty application_setting hash while controller requires
application_setting not to be empty by using `require` with `permit`
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc/api/snippets.md')
0 files changed, 0 insertions, 0 deletions
