Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/etag_caching/router/graphql_spec.rb')
-rw-r--r--spec/lib/gitlab/etag_caching/router/graphql_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/etag_caching/router/graphql_spec.rb b/spec/lib/gitlab/etag_caching/router/graphql_spec.rb
index 792f02f8cda..fae468ab84f 100644
--- a/spec/lib/gitlab/etag_caching/router/graphql_spec.rb
+++ b/spec/lib/gitlab/etag_caching/router/graphql_spec.rb
@@ -18,6 +18,12 @@ RSpec.describe Gitlab::EtagCaching::Router::Graphql do
end
end
+ it 'applies the default urgency for every route', :aggregate_failures do
+ described_class::ROUTES.each do |route|
+ expect(route.urgency).to be(Gitlab::EndpointAttributes::DEFAULT_URGENCY)
+ end
+ end
+
def match_route(path, header)
described_class.match(
double(path_info: path,