Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/snippets_controller_spec.rb')
-rw-r--r--spec/controllers/snippets_controller_spec.rb14
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