gitlab-ce/spec
Stan Hu cedbb3366b Fix API /project/:id/branches not returning correct merge status
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24034 introduced
a regression where only the first 20 branches were used to determine
whether a branch has been merged because the pagination was applied
incorrectly. Requesting the second page of branches via the API would
always have the wrong merge status. We fix this by properly paginating
the branches before requesting their merge status.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56250
2019-03-30 05:20:29 -07:00
..
bin
config
controllers Allow ref name caching CommitService#find_commit 2019-03-27 14:46:39 -05:00
db
dependencies
factories Create detached merge request pipelines 2019-03-29 13:58:45 +07:00
features Merge branch 'sh-fix-failing-spec-on-first-da' into 'master' 2019-03-30 06:42:46 +00:00
finders
fixtures Revert "Merge branch '13784-validate-variables-for-masking' into 'master'" 2019-03-27 21:42:23 +00:00
frontend Merge branch 'winh-jest-html-fixtures' into 'master' 2019-03-29 16:59:16 +00:00
graphql
helpers [CE] Reduce the diff with EE in spec/helpers/projects_helper_spec.rb 2019-03-28 18:02:42 +01:00
initializers
javascripts Merge branch 'winh-jest-html-fixtures' into 'master' 2019-03-29 16:59:16 +00:00
lib Handle missing keys in sentry api response 2019-03-29 14:53:40 +00:00
mailers
migrations Refactor subbed_worker calls 2019-03-28 15:50:47 +00:00
models Renames Cluster#managed? to provided_by_user? 2019-03-29 18:23:18 +00:00
policies [CE] Reduce the diff with EE in spec/policies/group_policy_spec.rb 2019-03-27 15:41:46 +01:00
presenters Renames Cluster#managed? to provided_by_user? 2019-03-29 18:23:18 +00:00
rack_servers
requests Fix API /project/:id/branches not returning correct merge status 2019-03-30 05:20:29 -07:00
routing
rubocop Properly handle `ee` migration specs 2019-03-28 05:48:53 +08:00
serializers Prepare suggestion implementation for multi-line 2019-03-27 12:26:53 -03:00
services Handle missing keys in sentry api response 2019-03-29 14:53:40 +00:00
sidekiq/cron
support Merge branch '50199-quick-actions-refactor' into 'master' 2019-03-29 14:48:01 +00:00
tasks
uploaders
validators
views
workers Allow external diffs to be used conditionally 2019-03-27 16:51:33 +00:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Factorize policy helpers into PolicyHelpers 2019-03-27 15:41:46 +01:00