gitlab-org--gitlab-foss/spec/services
Sean McGivern 3c6a4d6363 Ensure MRs always use branch refs for comparison
If a merge request was created with a branch name that also matched a tag name,
we'd generate a comparison to or from the tag respectively, rather than the
branch. Merging would still use the branch, of course.

To avoid this, ensure that when we get the branch heads, we prepend the
reference prefix for branches, which will ensure that we generate the correct
comparison.
2017-11-28 17:01:38 +00:00
..
applications fix specs 2017-11-02 08:49:36 +01: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
ci Make sure all pipelines would go to pending once 2017-11-09 16:59:52 +08:00
clusters Add Helm InstallCommand 2017-11-07 17:12:41 +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
events Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00: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 Fix WIP system note not being created 2017-11-23 17:25:14 -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
members
merge_requests Ensure MRs always use branch refs for comparison 2017-11-28 17:01:38 +00:00
milestones Merge branch 'issue_40337' into 'master' 2017-11-21 14:02:23 +00:00
notes Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
projects Fix hashed storage with project transfers to another namespace 2017-11-16 22:41:04 -08:00
protected_branches
protected_tags
quick_actions added date parameter for time tracking 2017-10-13 11:41:49 +01:00
search
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 Cache the number of user SSH keys 2017-11-16 14:59:38 +01:00
wiki_pages
access_token_validation_service_spec.rb
after_branch_delete_service_spec.rb
base_count_service_spec.rb Cache the number of user SSH keys 2017-11-16 14:59:38 +01:00
cohorts_service_spec.rb
compare_service_spec.rb
create_branch_service_spec.rb
create_deployment_service_spec.rb Fix more tests 2017-08-11 17:54:34 +08:00
create_release_service_spec.rb
create_snippet_service_spec.rb
delete_branch_service_spec.rb
delete_merged_branches_service_spec.rb When deleting merged branches, ignore protected tags 2017-11-07 16:58:36 +01: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
gravatar_service_spec.rb
import_export_clean_up_service_spec.rb
note_summary_spec.rb
notification_service_spec.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
pages_service_spec.rb
preview_markdown_service_spec.rb
push_event_payload_service_spec.rb
repair_ldap_blocked_user_service_spec.rb
repository_archive_clean_up_service_spec.rb
search_service_spec.rb
spam_service_spec.rb replace `is_spam?` with `spam?` 2017-08-29 11:14:42 +03:00
submit_usage_ping_service_spec.rb
system_hooks_service_spec.rb Add system hooks user_rename and group_rename 2017-11-03 11:26:52 +00:00
system_note_service_spec.rb Fix WIP system note not being created 2017-11-23 17:25:14 -02:00
todo_service_spec.rb Refactor issuable destroy action 2017-11-06 13:02:50 +01:00
update_release_service_spec.rb
update_snippet_service_spec.rb
upload_service_spec.rb
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