diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-23 10:43:55 +0200 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-24 10:02:32 +0200 |
commit | 3be9820da63d77ab8b4469dbbb5385292f928057 (patch) | |
tree | aa8317a5e7736183f731ebd85be462efd23a1f82 /spec/lib/gitlab/etag_caching | |
parent | f0cd6ffd0bec0c8a612a7af6e8a9a0a6fa5d31a4 (diff) | |
download | gitlab-ce-3be9820da63d77ab8b4469dbbb5385292f928057.tar.gz |
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.rb | 3 |
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) |