diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-12-18 14:24:22 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-12-18 14:24:22 +0000 |
commit | 4b0988aa020a9f2fc887b70f82711c9e5b708f49 (patch) | |
tree | 00f8bcb4d92b3cb8093c3bd077126f3c5dfdf6e3 /spec/controllers | |
parent | aa7c927e1e4f114fea381d3856d195319f0ca0a1 (diff) | |
download | gitlab-ce-4b0988aa020a9f2fc887b70f82711c9e5b708f49.tar.gz |
Remove content disposition attachment displaying all ssh keys
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/profiles/keys_controller_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/controllers/profiles/keys_controller_spec.rb b/spec/controllers/profiles/keys_controller_spec.rb index 685db8488f0..d55d15d0db8 100644 --- a/spec/controllers/profiles/keys_controller_spec.rb +++ b/spec/controllers/profiles/keys_controller_spec.rb @@ -65,12 +65,6 @@ describe Profiles::KeysController do expect(response.content_type).to eq("text/plain") end - - it "responds with attachment content disposition" do - get :get_keys, username: user.username - - expect(response.headers['Content-Disposition']).to eq('attachment') - end end end end |