gitlab-org--gitlab-foss/spec/lib/gitlab
Michael Kozono b720ea0613 Fix RequestStore-related test failure
The test was failing
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/101444126 because
a04056efad/ee/spec/support/request_store.rb
which is in EE only, clears the RequestStore before every test,
regardless of whether RequestStore is active. This test is unusual
because it sets up RequestStore without it being active, to make sure
that the tested code doesn’t attempt to use RequestStore. These two
unusual facts combined to cause the failure in EE only. The fix works
because of the particular order of RSpec hooks in the test lifecycle.
2018-09-25 13:24:37 -07:00
..
auth Correct Gitlab Capitalization in code files 2018-09-21 12:05:37 +00:00
background_migration Squashed commit of the following: 2018-08-27 09:12:02 +02:00
badge
bare_repository_import Refactor Rainbow usage in specs 2018-08-16 21:31:19 +02:00
bitbucket_import Fix Bitbucket Cloud importer omitting replies 2018-08-07 14:34:25 -07:00
bitbucket_server_import Remove date from author line since that is already present in created_at 2018-08-03 06:07:37 -07:00
cache
checks Merge branch '27456-improve-feedback-when-dev-cannot-push-to-empty-repo' into 'master' 2018-07-18 11:22:25 +00:00
ci Add missing frozen string literal comments 2018-09-11 16:26:57 +02:00
cleanup Refactor code to remove object storage flag from Import/Export 2018-09-06 16:52:42 +02:00
conflict Include rich_text in diff cache keys 2018-08-28 16:36:25 -05:00
cross_project_access
cycle_analytics Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
data_builder Test for failure_reason in job webhook 2018-08-20 12:54:46 +02:00
database Add Gitlab::Database::Subquery.self_join to delete_all with limit 2018-09-20 16:27:09 +02:00
dependency_linker
diff Use standalone diff stats RPC on every comparison view 2018-09-19 12:26:28 +00:00
downtime_check
email Add frozen_string_literal: true to email handlers 2018-09-03 10:33:48 +01:00
etag_caching
fogbugz_import
gfm Fix minor spec review comments in uploader specs 2018-07-03 09:57:15 -07:00
git Use Gitlab::SafeRequestStore in more places 2018-09-24 12:11:27 -07:00
gitaly_client Add Gitaly diff stats RPC client 2018-09-17 12:27:01 -03:00
github_import Refactor GitHub Importer database helpers into helper methods 2018-08-24 05:34:38 -07:00
gitlab_import Fix gitlab import project load 2018-07-23 07:52:15 +00:00
google_code_import Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
gpg Updates from rubocop -a 2018-07-09 21:13:08 +08:00
grape_logging/loggers
graphql Add mutation toggling WIP state of merge requests 2018-07-25 18:37:12 +02:00
graphs Fix failing tests for commit_per_day 2018-07-31 20:25:15 +03:00
hashed_storage Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs' 2018-07-23 15:34:54 +11:00
health_checks Gitaly metrics check for read/writeability 2018-06-27 08:56:19 +02:00
hook_data Keep #absolute_image_urls as a private instance method 2018-07-17 14:58:14 +01:00
i18n
import Rails5: fix can't quote ActiveSupport::HashWithIndifferentAccess 2018-08-27 20:08:02 +02:00
import_export Add changelog. Add more specs. 2018-09-24 12:02:43 +02:00
kubernetes Always create gitlab service account and service account token regardless of ABAC/RBAC 2018-09-14 16:26:51 +12:00
legacy_github_import
manifest_import Improve manifest feature after backend review 2018-07-11 12:22:57 +03:00
metrics Ignore irrelevant sql commands in metrics 2018-09-05 09:10:19 +08:00
middleware Correct Gitlab Capitalization in code files 2018-09-21 12:05:37 +00:00
patch Explicitly state that we're trying to prepend twice 2018-09-11 18:45:49 +08:00
popen
prometheus Improve MetricGroup specs 2018-09-05 17:27:07 +02:00
query_limiting
quick_actions
redis
sanitizers Use stable gitlab-styles and eliminate offenses 2018-07-09 21:13:08 +08:00
search
serializer Fix deserializing yaml variables in imported projects 2018-07-19 14:00:35 +02:00
sherlock
sidekiq_logging
sidekiq_middleware
sidekiq_status
sidekiq_versioning
slash_commands Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
sql
storage_check
template Fix bugs in Gitlab::Template::Finders preventing instances from BaseTemplate.all from loading content 2018-08-14 22:28:46 +01:00
utils
verify
view/presenter
action_rate_limiter_spec.rb
allowable_spec.rb
app_logger_spec.rb
asciidoc_spec.rb
auth_spec.rb
background_migration_spec.rb
blame_spec.rb
build_access_spec.rb
changes_list_spec.rb
chat_name_token_spec.rb
ci_access_spec.rb
closing_issue_extractor_spec.rb Fix closing issue default pattern 2018-09-06 16:00:12 +02:00
color_schemes_spec.rb
contributions_calendar_spec.rb Include private contributions in user contribution graph 2018-09-07 15:08:55 +00:00
cross_project_access_spec.rb
current_settings_spec.rb
daemon_spec.rb
database_spec.rb Backport various EE changes to Gitlab::Database 2018-07-24 13:25:01 +02:00
dependency_linker_spec.rb
downtime_check_spec.rb
encoding_helper_spec.rb Fix Error 500s due to encoding issues when Wiki hooks fire 2018-08-29 09:46:46 -07:00
exclusive_lease_helpers_spec.rb Fix static analysys 2018-07-04 13:28:18 +09:00
exclusive_lease_spec.rb
fake_application_settings_spec.rb
favicon_spec.rb Read asset host from ActionController::Base instead of application config 2018-06-29 11:22:51 +02:00
file_detector_spec.rb Recognize 'UNLICENSE' license files 2018-09-06 12:36:19 +00:00
file_finder_spec.rb
file_markdown_link_builder_spec.rb Uploads to wiki stored inside the wiki git repository 2018-09-04 10:39:08 +00:00
file_type_detection_spec.rb Uploads to wiki stored inside the wiki git repository 2018-09-04 10:39:08 +00:00
git_access_spec.rb Remove Repository#path memoization 2018-07-12 09:49:25 +00:00
git_access_wiki_spec.rb
git_ref_validator_spec.rb
git_spec.rb
gitaly_client_spec.rb
github_import_spec.rb Refactor GitHub Importer database helpers into helper methods 2018-08-24 05:34:38 -07:00
gl_repository_spec.rb
gpg_spec.rb
group_hierarchy_spec.rb
highlight_spec.rb
http_io_spec.rb Fix and add specs for testing metadata entry 2018-07-09 14:19:52 +02:00
http_spec.rb
i18n_spec.rb
identifier_spec.rb
import_sources_spec.rb Fix specs for Bitbucket Server 2018-07-17 21:14:11 -07:00
incoming_email_spec.rb
insecure_key_fingerprint_spec.rb
issuable_metadata_spec.rb
issuable_sorter_spec.rb
issuables_count_for_state_spec.rb
job_waiter_spec.rb
json_logger_spec.rb Bring JsonLogger to CE 2018-07-20 12:50:20 -07:00
kubernetes_spec.rb Fix an exception seen using the online terminal 2018-07-11 15:44:34 +01:00
language_detection_spec.rb Add repository languages for projects 2018-08-01 18:58:29 +02:00
lazy_spec.rb
lfs_token_spec.rb
markup_helper_spec.rb
metrics_spec.rb
multi_collection_paginator_spec.rb
null_request_store_spec.rb Use a null object with RequestStore 2018-09-24 12:11:26 -07:00
omniauth_initializer_spec.rb
optimistic_locking_spec.rb
other_markup_spec.rb
otp_key_rotator_spec.rb
pages_client_spec.rb
path_regex_spec.rb
performance_bar_spec.rb
plugin_spec.rb
polling_interval_spec.rb
popen_spec.rb Avoid process deadlock in popen by consuming input pipes 2018-07-12 16:21:30 -07:00
profiler_spec.rb
project_authorizations_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
project_search_results_spec.rb Fixing bug with wiki ref in ProjectSearchResults 2018-07-20 13:49:30 +00:00
project_template_spec.rb
project_transfer_spec.rb
prometheus_client_spec.rb
query_limiting_spec.rb
reference_counter_spec.rb
reference_extractor_spec.rb
regex_spec.rb
repo_path_spec.rb
repository_cache_adapter_spec.rb Expire correct method caches after HEAD changed 2018-06-29 17:41:57 +02:00
repository_cache_spec.rb
request_context_spec.rb
request_forgery_protection_spec.rb
request_profiler_spec.rb
route_map_spec.rb
routing_spec.rb
safe_request_store_spec.rb Fix RequestStore-related test failure 2018-09-25 13:24:37 -07:00
search_results_spec.rb
sentry_spec.rb
shard_health_cache_spec.rb Bring Gitlab::ShardHealthCache to CE 2018-06-27 21:43:23 +02:00
shell_spec.rb Remove Rugged and shell code from Gitlab::Git 2018-09-12 12:32:32 -03:00
sidekiq_config_spec.rb
sidekiq_status_spec.rb
sidekiq_versioning_spec.rb
snippet_search_results_spec.rb
ssh_public_key_spec.rb
string_placeholder_replacer_spec.rb
string_range_marker_spec.rb
string_regex_marker_spec.rb
tcp_checker_spec.rb
themes_spec.rb
tree_summary_spec.rb Extract tree summary logic out of RefsController#logs_tree 2018-09-06 16:04:21 +01:00
untrusted_regexp_spec.rb
upgrader_spec.rb
uploads_transfer_spec.rb
url_blocker_spec.rb Block link-local addresses in URLBlocker 2018-08-28 16:36:25 -05:00
url_builder_spec.rb
url_sanitizer_spec.rb Escape username and password in UrlSanitizer#full_url 2018-07-19 03:28:38 -07:00
usage_data_spec.rb Handle statement timeouts in usage ping 2018-09-05 17:51:47 +01:00
user_access_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
user_extractor_spec.rb Port changes for CODEOWNERS to CE 2018-09-06 09:07:19 +02:00
utils_spec.rb
version_info_spec.rb
visibility_level_spec.rb
wiki_file_finder_spec.rb
workhorse_spec.rb Add receive_max_input_size setting to Application settings 2018-09-07 12:27:35 -05:00