gitlab-org--gitlab-foss/spec/lib
Robert Speicher 5b37f21bf2 Reduce duplication in GitAccess spec around error messages
- 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.
2017-08-18 15:16:54 -04:00
..
api/helpers Total Pages should be at least one 2017-08-17 21:47:01 +02:00
banzai
bitbucket Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
ci Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
constraints
container_registry
gitlab Reduce duplication in GitAccess spec around error messages 2017-08-18 15:16:54 -04:00
json_web_token Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
mattermost
microsoft_teams
rspec_flaky Use a new RspecFlakyListener to detect flaky specs 2017-08-11 14:55:10 +02:00
system_check Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
additional_email_headers_interceptor_spec.rb
after_commit_queue_spec.rb Backports EE mirror stuck handling feature (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2628) to CE 2017-08-17 13:38:05 +01:00
disable_email_interceptor_spec.rb
event_filter_spec.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
expand_variables_spec.rb
extracts_path_spec.rb Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
feature_spec.rb
file_size_validator_spec.rb Whitelist or fix additional `Gitlab/PublicSend` cop violations 2017-08-14 12:14:11 -04:00
gitlab_spec.rb
repository_cache_spec.rb
system_check_spec.rb