diff options
author | Sean McGivern <sean@gitlab.com> | 2018-12-04 11:40:04 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-12-04 11:40:04 +0300 |
commit | f31b784c3f2d8e313edc5fbd9fc8b237ec09fff7 (patch) | |
tree | 62c432393d9a29d045e1e9c5c2e5b71a6c59e8db /spec/controllers | |
parent | 64f858883074db1c45bfa5ab1fa709c493dea062 (diff) | |
parent | eefbe9be06d88a5f9e73882c89cf5973978e167b (diff) |
Merge branch 'dm-default-request-format-html' into 'master'
Disable format determination based on path extension
Closes #54278
See merge request gitlab-org/gitlab-ce!23454
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/blob_controller_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/controllers/projects/blob_controller_spec.rb b/spec/controllers/projects/blob_controller_spec.rb index 3c5a21c47fa..9fc6af6a045 100644 --- a/spec/controllers/projects/blob_controller_spec.rb +++ b/spec/controllers/projects/blob_controller_spec.rb @@ -35,6 +35,11 @@ describe Projects::BlobController do let(:id) { 'binary-encoding/encoding/binary-1.bin' } it { is_expected.to respond_with(:success) } end + + context "Markdown file" do + let(:id) { 'master/README.md' } + it { is_expected.to respond_with(:success) } + end end context 'with file path and JSON format' do |