You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test/unit/text_direction_test.rb contains a YAML.load invocation, it would be preferable to replace this with YAML.safe_load however doing so produces the following test failure:
The cop is disabled for the `TextDirectionTest` because
Replacing `YAML.load` with `YAML.safe_load` produces the following
test failure:
```
TextDirectionTest#test_explicitly_sets_text_direction_for_en.yml:
Psych::BadAlias: Unknown alias: nested_attachment_field_names
```
The en.yml file contains the folowing line which appears to be invalid YAML:
```
nested_attachment_field_names: &nested_attachment_field_names
```
See #3684
The cop is disabled for the `TextDirectionTest` because
Replacing `YAML.load` with `YAML.safe_load` produces the following
test failure:
```
TextDirectionTest#test_explicitly_sets_text_direction_for_en.yml:
Psych::BadAlias: Unknown alias: nested_attachment_field_names
```
The en.yml file contains the folowing line which appears to be invalid YAML:
```
nested_attachment_field_names: &nested_attachment_field_names
```
See #3684
test/unit/text_direction_test.rb contains a
YAML.load
invocation, it would be preferable to replace this withYAML.safe_load
however doing so produces the following test failure:The
en.yml
file contains the folowing line which appears to be invalid YAML:The text was updated successfully, but these errors were encountered: