gitlab-org--gitlab-foss/spec/validators
Francisco Javier López 150f7c1e9c Fix Bitbucket import
In ebf16ada85
we introduced a SHA validator, to ensure that the data provided in
merge request diffs, was legit. Nevertheless, the validator
assumed that the SHA should be 40 chars long.

When we import a project from BitBucket, the retrieved SHA is
shorter (12 chars long). Therefore, this validator prevented to
create a valid MergeRequestDiff for ever MergeRequest (triggering
an exception).
2019-03-14 10:05:17 +00:00
..
branch_filter_validator_spec.rb
devise_email_validator_spec.rb Align EmailValidator to validate_email gem implementation. 2019-03-05 19:56:01 +00:00
js_regex_validator_spec.rb
namespace_path_validator_spec.rb
project_path_validator_spec.rb
public_url_validator_spec.rb
sha_validator_spec.rb Fix Bitbucket import 2019-03-14 10:05:17 +00:00
url_validator_spec.rb
variable_duplicates_validator_spec.rb