gitlab-org--gitlab-foss/spec/services
Bob Van Landuyt 2c0b677604 Fix errors when deleting a forked project
The problem would occur when the `ForkedProjectLink` was deleted, but
the `ForkNetworkMember` was not. The delete would be rolled back and
retried.

But the error would not be saved because `Project#forked?`
would still be true, because the `ForkNetworkMember` exists. But the
`Project#forked_project_link` would be `nil`. So the validation for
the visibility level would fail.
2017-10-17 16:46:07 +02:00
..
auth fix code style issues 2017-10-10 23:46:18 +02:00
boards Backport specs 2017-08-31 15:18:35 -03:00
chat_names Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
ci Don't create build failed todo when build is retried 2017-10-16 11:10:07 +01:00
deploy_keys created services for keys 2017-09-15 15:35:24 +00:00
discussions Commenting on image diffs 2017-10-07 04:25:17 +00:00
emails Merge branch 'master' into digitalmoksha/gitlab-ce-feature/verify_secondary_emails 2017-10-05 12:48:22 +02:00
files Move GitHooksService to Gitlab::Git 2017-08-23 10:45:20 +02:00
gpg_keys Add some basic specs and refactor model and validations 2017-10-05 08:25:27 -05:00
groups Make Members with Owner and Master roles always able to create subgroups 2017-09-07 13:47:58 -05:00
issuable Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
issues Don't create todos for old issue assignees 2017-10-09 15:12:39 +02:00
keys Simplify a test 2017-09-21 13:19:05 +01:00
labels Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
members Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
merge_requests Create a Gitlab::Git submodule for conlict-related files 2017-10-12 22:03:15 -03:00
milestones Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
notes Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
projects Fix errors when deleting a forked project 2017-10-17 16:46:07 +02:00
protected_branches Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
protected_tags Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
quick_actions added date parameter for time tracking 2017-10-13 11:41:49 +01:00
search Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
tags Migrate Gitlab::Git::Repository#add_tag to Gitaly 2017-09-29 00:53:49 +02:00
test_hooks Fix a wrong X-Gitlab-Event header when testing webhooks 2017-09-07 17:40:32 +02:00
users Create idea of read-only database 2017-10-06 22:37:40 +02:00
wiki_pages Merge branch 'wiki_title' into 'master' 2017-08-07 16:37:44 +00:00
access_token_validation_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
after_branch_delete_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
cohorts_service_spec.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
compare_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
create_branch_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
create_deployment_service_spec.rb Fix more tests 2017-08-11 17:54:34 +08:00
create_release_service_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
create_snippet_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
delete_branch_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
delete_merged_branches_service_spec.rb Add a project forks spec helper 2017-10-07 11:46:23 +02:00
event_create_service_spec.rb Rework how recent push events are retrieved 2017-09-08 00:46:16 +02:00
git_push_service_spec.rb replace is_default_branch? with default_branch? 2017-08-29 11:14:42 +03:00
git_tag_push_service_spec.rb Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
gravatar_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
import_export_clean_up_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
note_summary_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
notification_service_spec.rb Merge branch '37691-subscription-fires-multiple-notifications' into 'master' 2017-10-12 14:39:51 +00:00
pages_service_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
preview_markdown_service_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
push_event_payload_service_spec.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
repair_ldap_blocked_user_service_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
repository_archive_clean_up_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
search_service_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
spam_service_spec.rb replace is_spam? with spam? 2017-08-29 11:14:42 +03:00
submit_usage_ping_service_spec.rb Store & use ConvDev percentages returned by Version app 2017-08-07 20:52:08 +02:00
system_hooks_service_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
system_note_service_spec.rb Fix text for the merge request lock system note 2017-10-10 12:28:13 +02:00
todo_service_spec.rb Enable the Layout/SpaceBeforeBlockBraces cop 2017-08-09 11:52:22 +02:00
update_release_service_spec.rb Use described_class when possible 2017-07-27 14:31:53 +02:00
update_snippet_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
upload_service_spec.rb Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
user_project_access_changed_service_spec.rb Move sidekiq-based project authorization refresh out of Projects::CreateService 2017-08-25 16:19:32 +01:00
web_hook_service_spec.rb Fix a wrong X-Gitlab-Event header when testing webhooks 2017-09-07 17:40:32 +02:00