gitlab-org--gitlab-foss/spec/features/projects/files
Frank West ade0c2c892 Prevents accidental overwrites of commits from UI
Currently when a user performs an update of a file through the UI  and there
has already been a change committed to the file the previous commits will be
overwritten without a check to see if the file has been changed.

This commit uses the last commit sha at the time the user starts editing the
file and compares it with the current sha of the file being edited to ensure
they are the same before committing the file. If the shas do not match we
throw an exception preventing the commit from the commit from occurring.

Fixes #5857
2016-08-15 02:34:55 +00:00
..
editing_a_file_spec.rb Prevents accidental overwrites of commits from UI 2016-08-15 02:34:55 +00:00
files_sort_submodules_with_folders_spec.rb Update tree view to sort folders with submodules 2016-08-09 14:08:47 +01:00
gitignore_dropdown_spec.rb Update tests to check if label is set after picking a template 2016-06-23 12:48:59 -05:00
gitlab_ci_yml_dropdown_spec.rb Fix specs 2016-07-06 17:52:59 +02:00
project_owner_creates_license_file_spec.rb Implements TemplateDropdown class to create custom template dropdowns 2016-06-16 00:28:45 -05:00
project_owner_sees_link_to_create_license_file_in_empty_project_spec.rb Implements TemplateDropdown class to create custom template dropdowns 2016-06-16 00:28:45 -05:00