gitlab-org--gitlab-foss/spec/lib
Stan Hu 5c8cd42bbd Fix invalid visibility string comparison in project import
This resolves an "ArgumentError: comparison of String with 0 failed"
issue where the visibility_level is stored as a string in the project
import data because the value comes directly from the Web form. This
problem happened upon creating a project from a template or restoring a
project.

We now cast the value to an integer to guard against these kinds of
failures.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61692
2019-05-22 11:32:23 -07:00
..
api Use a path for the related merge requests endpoint 2019-05-07 06:16:39 -07:00
backup
banzai Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
bitbucket
bitbucket_server
constraints
container_registry
gitaly
gitlab Fix invalid visibility string comparison in project import 2019-05-22 11:32:23 -07:00
google_api
json_web_token
mattermost
microsoft_teams
object_storage
omni_auth/strategies
quality Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'" 2019-05-22 11:45:46 +00:00
rspec_flaky
safe_zip
sentry
serializers
system_check
after_commit_queue_spec.rb
event_filter_spec.rb
expand_variables_spec.rb
extracts_path_spec.rb
feature_spec.rb
file_size_validator_spec.rb
forever_spec.rb
gitlab_spec.rb
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb