gitlab-org--gitlab-foss/spec/models
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
..
blob_viewer Replaces 'WikiPage::CreateService' calls with 'wiki_page' factory 2017-10-13 14:42:52 +02:00
ci Use arrays in Pipeline#latest_builds_with_artifacts 2017-11-21 17:40:29 +01:00
clusters Merge branch '38464-k8s-apps' of https://gitlab.com/gitlab-org/gitlab-ce into add-ingress-to-cluster-applications 2017-11-07 17:54:03 +01:00
concerns Use latest_merge_request_diff association 2017-11-23 12:14:56 +00:00
conversational_development_index
cycle_analytics
diff_viewer Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
hooks
issue
members Migrate events into a new format 2017-08-10 17:45:44 +02:00
merge_request
network
project_services Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
protected_branch
ability_spec.rb
abuse_report_spec.rb Optimize a few simple spec files by using `set` 2017-09-13 13:35:18 +02:00
appearance_spec.rb Optimize a few simple spec files by using `set` 2017-09-13 13:35:18 +02:00
application_setting_spec.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
award_emoji_spec.rb
blob_spec.rb Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
board_spec.rb
broadcast_message_spec.rb Fix caching of future broadcast messages 2017-08-21 17:58:37 +02:00
chat_name_spec.rb Optimize a few simple spec files by using `set` 2017-09-13 13:35:18 +02:00
chat_team_spec.rb Optimize a few simple spec files by using `set` 2017-09-13 13:35:18 +02:00
commit_collection_spec.rb Optimise getting the pipeline status of commits 2017-11-16 16:01:14 +01:00
commit_range_spec.rb
commit_spec.rb Optimise getting the pipeline status of commits 2017-11-16 16:01:14 +01:00
commit_status_spec.rb Use existing pipeline stage if stage already exists 2017-11-06 11:04:09 +01:00
compare_spec.rb
container_repository_spec.rb Prevent new / renamed project from using a repository path that already exists on disk 2017-08-25 20:06:06 +02:00
deploy_key_spec.rb
deploy_keys_project_spec.rb
deployment_spec.rb
diff_discussion_spec.rb
diff_note_spec.rb Prevents position update for image diff notes 2017-11-13 16:40:54 -02:00
discussion_spec.rb
email_spec.rb remove extra whitespace 2017-10-27 17:35:40 +02:00
environment_spec.rb Remove unique validation from external_url in Environment 2017-11-06 16:00:39 +09:00
event_collection_spec.rb Use a specialized class for querying events 2017-08-10 17:45:49 +02:00
event_spec.rb Finish migration to the new events setup 2017-09-06 16:40:31 +02:00
external_issue_spec.rb
fork_network_member_spec.rb Delete the fork network when removing the last membership 2017-11-17 12:58:15 +01:00
fork_network_spec.rb Unlink a project from a fork network when it's source was deleted. 2017-11-03 12:17:59 +01:00
forked_project_link_spec.rb Add a project forks spec helper 2017-10-07 11:46:23 +02:00
generic_commit_status_spec.rb
global_milestone_spec.rb Move total time spend calculation to milestoneish 2017-11-11 16:47:39 +02:00
gpg_key_spec.rb Invalidate GpgSignatures associated to GpgKeySubkeys when revoking the GpgKey 2017-10-05 08:26:02 -05:00
gpg_key_subkey_spec.rb Add some basic specs and refactor model and validations 2017-10-05 08:25:27 -05:00
gpg_signature_spec.rb Fix error with GPG signature updater when commit was deleted 2017-10-07 10:47:53 -05:00
group_custom_attribute_spec.rb Support custom attributes on groups 2017-11-06 10:51:50 +01:00
group_label_spec.rb
group_milestone_spec.rb
group_spec.rb Always return full avatar URL for private/internal groups/projects when asset host is set 2017-11-09 15:40:41 +00:00
guest_spec.rb
identity_spec.rb Changing OAuth lookup to be case insensitive 2017-11-17 14:24:25 +00:00
instance_configuration_spec.rb Added ssh fingerprint, gitlab ci and pages information in an instance configuration page 2017-10-25 23:51:26 +03:00
issue_collection_spec.rb
issue_spec.rb Move update_project_counter_caches? out of issue and merge request 2017-11-11 21:06:28 +02:00
key_spec.rb Cache the number of user SSH keys 2017-11-16 14:59:38 +01:00
label_link_spec.rb
label_priority_spec.rb
label_spec.rb
legacy_diff_discussion_spec.rb
lfs_objects_project_spec.rb Fix syntax error in LFS objects specs 2017-09-13 13:35:18 +02:00
list_spec.rb
member_spec.rb Replaces `tag: true` into `:tag` in the specs 2017-10-07 13:57:54 +02:00
merge_request_diff_commit_spec.rb Handle large values on `MergeRequestDiffCommit` dates 2017-10-30 21:13:39 -03:00
merge_request_diff_file_spec.rb
merge_request_diff_spec.rb Use latest_merge_request_diff association 2017-11-23 12:14:56 +00:00
merge_request_spec.rb Ensure MRs always use branch refs for comparison 2017-11-28 17:01:38 +00:00
milestone_spec.rb Changed validation error message on wrong milestone dates 2017-11-18 19:30:32 +01:00
namespace_spec.rb Merge branch 'master' into sh-security-fix-backports-master 2017-10-17 16:02:32 -07:00
note_spec.rb add the missing spec 2017-11-20 13:00:35 -05:00
notification_setting_spec.rb
pages_domain_spec.rb
personal_access_token_spec.rb Hide read_registry scope when registry is disabled on instance 2017-08-21 18:13:32 -04:00
project_authorization_spec.rb
project_auto_devops_spec.rb Add specs for warning message shown in Auto DevOps settings 2017-09-19 18:42:13 +02:00
project_custom_attribute_spec.rb Support custom attributes on projects 2017-11-06 10:51:46 +01:00
project_feature_spec.rb
project_group_link_spec.rb Replaces `tag: true` into `:tag` in the specs 2017-10-07 13:57:54 +02:00
project_label_spec.rb
project_snippet_spec.rb
project_spec.rb Merge branch 'jej/fix-lfs-integrity-with-forks' into 'master' 2017-11-14 09:48:19 +00:00
project_statistics_spec.rb
project_team_spec.rb
project_wiki_spec.rb Fix dumping hashed storage based repository 2017-11-15 15:20:36 +01:00
protectable_dropdown_spec.rb Whitelist or fix additional `Gitlab/PublicSend` cop violations 2017-08-14 12:14:11 -04:00
protected_branch_spec.rb
protected_tag_spec.rb
push_event_payload_spec.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
push_event_spec.rb Rework how recent push events are retrieved 2017-09-08 00:46:16 +02:00
redirect_route_spec.rb Fix conflicting redirect search 2017-08-08 10:30:07 -07:00
release_spec.rb
repository_spec.rb Move identical merged branch check to merged_branch_names 2017-11-23 18:26:41 +08:00
route_spec.rb Fix style 2017-08-09 08:11:08 -07:00
sent_notification_spec.rb Don't show an "Unsubscribe" link in snippet comment notifications 2017-10-09 15:03:05 +02:00
service_spec.rb
snippet_blob_spec.rb
snippet_spec.rb
spam_log_spec.rb
subscription_spec.rb
system_note_metadata_spec.rb
timelog_spec.rb
todo_spec.rb
tree_spec.rb
trending_project_spec.rb
upload_spec.rb
user_agent_detail_spec.rb
user_custom_attribute_spec.rb Support custom attributes on users 2017-09-28 16:49:42 +00:00
user_spec.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
wiki_directory_spec.rb
wiki_page_spec.rb Resolve "Performance issues when loading large number of wiki pages" 2017-11-17 11:48:32 +00:00