gitlab-org--gitlab-foss/spec/support
Rémy Coutable 7e56ac8f43 If TestEnv#set_repo_refs fails, clean test repos and retry
Sometimes, new references are not retrieved when a `git fetch` is called
in a bare repos. The easiest solution is to cleanup the test repos and
retry in this case. This only happens when a new ref is added to
TestEnv::BRANCH_SHA or TestEnv::FORKED_BRANCH_SHA.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-18 13:04:50 +02:00
..
api Delegate a single discussion to a new issue 2017-03-13 08:27:51 +01:00
banzai
controllers Create subgroups if they don't exist while importing projects 2017-04-05 10:09:31 +00:00
cycle_analytics_helpers Reduce the number of loops that Cycle Analytics specs use 2017-02-01 16:14:20 -05:00
features Merge branch 'mia_backort' into 'master' 2017-05-05 19:17:28 +00:00
gitlab_stubs Remove all instances of theme_id; require downtime 2017-02-15 13:31:18 -06:00
helpers Refactor Blob support of external storage in preparation of job artifact blobs 2017-05-03 10:20:05 -05:00
import_export Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
matchers Generate and handle a gl_repository param to pass around components 2017-05-03 17:37:30 -03:00
services Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
api_helpers.rb Implement json_response as a let variable 2017-03-13 17:33:17 +01:00
capybara.rb Properly eagerly-load the Capybara server for JS feature specs only 2017-03-31 14:43:36 +02:00
capybara_helpers.rb
carrierwave.rb Change the default CarrierWave root path for tests 2017-03-06 14:41:09 -05:00
chat_slash_commands_shared_examples.rb
cycle_analytics_helpers.rb Cycle analytics specs needed Commit to reference issue 2017-05-04 20:03:47 +01:00
database_connection_helpers.rb
db_cleaner.rb Truncate the DB in after(:all) test for Gitlab::ImportExport::ProjectTreeRestorer 2017-02-17 18:58:11 +01:00
drag_to_helper.rb Refactor test_utils bundle 2017-04-04 17:47:12 +00:00
dropzone_helper.rb Add an ability to cancel attaching file and redesign attaching files UI 2017-05-16 19:52:17 +11:00
email_format_shared_examples.rb
email_helpers.rb
factory_girl.rb
fake_migration_classes.rb Move ReservedPathsMigration into V1 namespace 2017-05-01 11:14:24 +02:00
fake_u2f_device.rb
filter_spec_helper.rb Fix brittle specs 2017-04-03 18:54:48 +02:00
filtered_search_helpers.rb Scope recent searches to project 2017-05-15 12:52:31 -05:00
fixture_helpers.rb After Trace#limit, we seek to the next line in case 2017-04-13 21:44:26 +08:00
generate-seed-repo-rb Add script to regenerate seed_repo.rb for Gitlab::Git tests 2017-05-15 12:53:47 +00:00
git_http_helpers.rb
gitaly.rb Setup and run a Gitaly server for testing if GitalyClient is enabled 2017-04-11 16:00:44 -03:00
import_spec_helper.rb
issuables_list_metadata_shared_examples.rb Merge branch '29492-useless-queries' into 'master' 2017-04-04 13:33:42 +00:00
issue_helpers.rb
issue_tracker_service_shared_example.rb
javascript_fixtures_helpers.rb Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
jira_service_helper.rb Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
json_response_helpers.rb Implement json_response as a let variable 2017-03-13 17:33:17 +01:00
kubernetes_helpers.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
ldap_helpers.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
login_helpers.rb Remove unused skip_ci_admin_auth helper 2017-04-19 17:47:06 -04:00
markdown_feature.rb Use :empty_project where possible in top-level feature specs 2017-04-20 17:30:55 -04:00
mentionable_shared_examples.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
merge_request_helpers.rb Add filtered search to MR page 2017-02-21 12:40:57 -06:00
milestone_tabs_examples.rb Moved sort endpoints into data attributes 2017-04-28 11:08:18 +01:00
mobile_helpers.rb Set the issuable sidebar to remain collapsed on mobile devices 2017-04-19 19:10:16 +00:00
notify_shared_examples.rb Use :empty_project where possible in mailer specs 2017-03-27 18:45:36 -04:00
omni_auth.rb
project_features_apply_to_issuables_shared_examples.rb Show public RSS feeds to anonymous users 2017-02-28 12:50:57 -08:00
project_hook_data_shared_example.rb
prometheus_helpers.rb Avoid comma t the end of hash 2017-05-12 13:09:46 +02:00
query_recorder.rb Define baseline for test for pipelines serializer 2017-04-06 14:32:39 +02:00
rake_helpers.rb
reactive_caching_helpers.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
reference_parser_helpers.rb
reference_parser_shared_examples.rb
repo_helpers.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
search_helpers.rb
seed_helper.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
seed_repo.rb Add script to regenerate seed_repo.rb for Gitlab::Git tests 2017-05-15 12:53:47 +00:00
select2_helper.rb group links select2 infinite scroll 2017-03-30 12:14:32 +00:00
services_shared_context.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
setup_builds_storage.rb
sidekiq.rb Fix race conditions for AuthorizedProjectsWorker 2017-01-25 13:22:15 +01:00
slack_mattermost_notifications_shared_examples.rb Fix notify_only_default_branch check for Slack service 2017-05-08 15:55:02 +10:00
slash_commands_helpers.rb Fix specs 2017-04-07 20:03:39 -05:00
snippets_shared_examples.rb
stored_repositories.rb Merge branch '29843-project-subgroup-transfer' into 'security' 2017-03-29 19:16:50 -07:00
stub_configuration.rb Add a new stub_mattermost_setting stub helper to properly stub Mattermost settings 2017-03-28 14:12:32 +02:00
stub_env.rb Introduce "stub_env" test helper for safely stubbing environment variables 2017-01-09 18:19:48 +01:00
stub_gitlab_calls.rb Refactor container registry repository tag stubs 2017-04-03 15:52:24 +02:00
stub_gitlab_data.rb
target_branch_helpers.rb New directory from interface on existing branch 2017-03-21 11:51:53 +01:00
taskable_shared_examples.rb Don’t count tasks that are not defined as list items correctly 2017-01-25 20:54:11 +01:00
test_env.rb If TestEnv#set_repo_refs fails, clean test repos and retry 2017-05-18 13:04:50 +02:00
time_tracking_shared_examples.rb [skip ci] Fix FE conflicts with master 2017-05-05 09:19:58 -05:00
unique_ip_check_shared_examples.rb Cleanup test phases by introducing request_from_ip and operation_from_ip helers 2017-03-06 15:41:25 +01:00
update_invalid_issuable.rb Make RuboCop happy 2017-02-27 15:57:04 +00:00
updating_mentions_shared_examples.rb
upload_helpers.rb
user_activities_helpers.rb Add a new Gitlab::UserActivities class to track user activities 2017-04-14 15:20:55 +02:00
wait_for_ajax.rb Return early from finished_all_ajax_requests? when jQuery is undefined 2017-04-19 20:28:32 -04:00
wait_for_requests.rb Wait for requests after each Spinach scenario instead of feature 2017-05-12 17:10:12 -05:00
wait_for_vue_resource.rb Merge request widget redesign 2017-05-09 04:15:34 +00:00
webmock.rb
workhorse_helpers.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00