5b37f21bf2
- Adds a new `ProjectMovedError` class to encapsulate that error condition. Inherits from `NotFoundError` so existing rescues should continue to work. - Separating that condition out of `NotFoundError` allowed us to simplify the `raise_not_found` helper and avoid repeating the literal string. - Spec makes use of `ERROR_MESSAGES` hash to avoid repeating literal error message strings. |
||
---|---|---|
.. | ||
api/helpers | ||
banzai | ||
bitbucket | ||
ci | ||
constraints | ||
container_registry | ||
gitlab | ||
json_web_token | ||
mattermost | ||
microsoft_teams | ||
rspec_flaky | ||
system_check | ||
additional_email_headers_interceptor_spec.rb | ||
after_commit_queue_spec.rb | ||
disable_email_interceptor_spec.rb | ||
event_filter_spec.rb | ||
expand_variables_spec.rb | ||
extracts_path_spec.rb | ||
feature_spec.rb | ||
file_size_validator_spec.rb | ||
gitlab_spec.rb | ||
repository_cache_spec.rb | ||
system_check_spec.rb |