gitlab-org--gitlab-foss/spec/support
Stan Hu 645c7f9631 Fix order-dependent Gitaly specs failing
If `spec/tasks/gitlab/cleanup_rake_spec.rb` preceded any of the Gitaly
request specs, it would import the `cleanup.rake` and the global
function `limit`. For some reason, the Protobuf implementation would use
the global function instead of the getter method. For example:

```
def limit
  puts "hi"
end

req = Gitaly::WikiGetAllPagesRequest.new
req.send(:limit)
hi
=> nil
```

To fix this problem, access the field value using the [] operator
instead.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64006
2019-07-02 20:33:02 -07:00
..
api Remove N+1 query for project and group boards 2019-06-26 11:47:18 +12:00
banzai
chunked_io
controllers
cycle_analytics_helpers
features Upgrade to Capybara 3 2019-06-12 18:40:18 +08:00
gitlab-git-test.git
gitlab_stubs
google_api
helpers Remove group in notification email subject 2019-07-01 16:23:11 +08:00
http_io
import_export
matchers Fix order-dependent Gitaly specs failing 2019-07-02 20:33:02 -07:00
migrations_helpers
prometheus Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
protected_tags
redis
services
shared_contexts Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
shared_examples Merge branch '63690-issue-trackers-title' into 'master' 2019-07-02 16:11:40 +00:00
test_reports
trace
active_record_enum.rb
batch_loader.rb
capybara.rb Upgrade to Capybara 3 2019-06-12 18:40:18 +08:00
carrierwave.rb
commit_trailers_spec_helper.rb
database_cleaner.rb
db_cleaner.rb
external_authorization_service_helpers.rb
forgery_protection.rb
generate-seed-repo-rb
inspect_squelch.rb Squelch output of ActiveSupport::Cache::NullStore in tests 2019-06-25 11:52:56 -07:00
issuables_requiring_filter_shared_examples.rb
json_response.rb
omni_auth.rb
prepare-gitlab-git-test-for-commit
protected_branch_helpers.rb
protected_tag_helpers.rb
rspec.rb
seed.rb
setup_builds_storage.rb
sidekiq.rb Use flushdb with the connection object in redis-namespace API 2019-06-25 16:56:30 +02:00
stored_repositories.rb
stub_version.rb
unpack-gitlab-git-test
webmock.rb