diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-08-02 19:32:40 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-08-02 19:32:40 +0300 |
commit | 1bc2ac330e503005b6eec45c409f774178e3059f (patch) | |
tree | 104f1ab105bbc434a14beef62f3b4bb9d66f64e6 /spec | |
parent | 8374dd565d44e5f97c179dcb4cf03c7d3ea69363 (diff) | |
parent | 3b1da9be250560c9a2e4ca69c6fa89e8b36f01e1 (diff) |
Merge branch '17276-breakage-in-displaying-svg-in-the-same-repository' into 'master'
Resolve "Breakage in displaying SVG in the same repository"
See merge request gitlab-org/gitlab-ce!31352
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/commit_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index e76186fb280..7b35c2ffd36 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -556,6 +556,7 @@ eos it 'returns the URI type at the given path' do expect(commit.uri_type('files/html')).to be(:tree) expect(commit.uri_type('files/images/logo-black.png')).to be(:raw) + expect(commit.uri_type('files/images/wm.svg')).to be(:raw) expect(project.commit('video').uri_type('files/videos/intro.mp4')).to be(:raw) expect(commit.uri_type('files/js/application.js')).to be(:blob) end |