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:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-05-23 11:43:55 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-05-24 11:02:32 +0300
commit3be9820da63d77ab8b4469dbbb5385292f928057 (patch)
treeaa8317a5e7736183f731ebd85be462efd23a1f82 /spec/lib/gitlab/etag_caching
parentf0cd6ffd0bec0c8a612a7af6e8a9a0a6fa5d31a4 (diff)
Test etag caching router and incorporate review
Diffstat (limited to 'spec/lib/gitlab/etag_caching')
-rw-r--r--spec/lib/gitlab/etag_caching/router_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/etag_caching/router_spec.rb b/spec/lib/gitlab/etag_caching/router_spec.rb
index 456bd9898ea..582ea85a1d6 100644
--- a/spec/lib/gitlab/etag_caching/router_spec.rb
+++ b/spec/lib/gitlab/etag_caching/router_spec.rb
@@ -84,7 +84,8 @@ describe Gitlab::EtagCaching::Router do
result = described_class.match(env)
- expect(result).to be_blank
+ expect(result).to be_present
+ expect(result.name).to eq 'environments'
end
def build_env(path)