diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-20 19:17:14 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-03-20 19:17:14 -0400 |
commit | 9bf9e6eb38b955791abce475dbaec1001d6c39c0 (patch) | |
tree | ded2d40410270b25fca5e0c7a5692611031390c7 /spec/features/projects/blobs/user_create_spec.rb | |
parent | b075d38c9b98d4b39441bd29d2c36be4637b6f72 (diff) | |
download | gitlab-ce-9bf9e6eb38b955791abce475dbaec1001d6c39c0.tar.gz |
Handle Route#name being nil after an update
It was possible for the `routes.name` field to be `NULL`, causing
`name_was` to be `nil` after a rename, resulting a bad first argument to
`sub` when attempting to rename descendants. This change adds a
condition to make sure `name_was` is present before attempting the
descendant update.
Diffstat (limited to 'spec/features/projects/blobs/user_create_spec.rb')
0 files changed, 0 insertions, 0 deletions