diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-21 03:10:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-21 03:10:16 +0000 |
commit | f2eb66fef8aa8cebea25bc9e671a1f146514682f (patch) | |
tree | ef3f5ad9803bb211acdfd9f0f013c987f43d8e97 /spec/controllers/snippets_controller_spec.rb | |
parent | c7a46b04196859929e8e4c04fbcbf8490f228edf (diff) | |
download | gitlab-ce-f2eb66fef8aa8cebea25bc9e671a1f146514682f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/snippets_controller_spec.rb')
-rw-r--r-- | spec/controllers/snippets_controller_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/controllers/snippets_controller_spec.rb b/spec/controllers/snippets_controller_spec.rb index 92370b3381a..6517922d92a 100644 --- a/spec/controllers/snippets_controller_spec.rb +++ b/spec/controllers/snippets_controller_spec.rb @@ -334,12 +334,6 @@ RSpec.describe SnippetsController do snippet.reload end - it_behaves_like 'updating snippet checks blob is binary' do - let_it_be(:title) { 'Foo' } - - subject { put :update, params: { id: snippet, personal_snippet: { title: title } } } - end - context 'when the snippet is spam' do before do allow_next_instance_of(Spam::AkismetService) do |instance| @@ -746,12 +740,4 @@ RSpec.describe SnippetsController do end end end - - describe 'GET #edit' do - it_behaves_like 'editing snippet checks blob is binary' do - let_it_be(:snippet) { create(:personal_snippet, :public, :repository, author: user) } - - subject { get :edit, params: { id: snippet } } - end - end end |