From d543b87c1ed9679a125586534d4f6411e9398864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ig=C3=B3n?= Date: Mon, 28 Oct 2024 16:28:53 +0100 Subject: [PATCH] remove unnecessary test because of change in upload_test_file --- .../admin/translations_import_form_spec.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/spec/forms/decidim/term_customizer/admin/translations_import_form_spec.rb b/spec/forms/decidim/term_customizer/admin/translations_import_form_spec.rb index de66a51..25bbce1 100644 --- a/spec/forms/decidim/term_customizer/admin/translations_import_form_spec.rb +++ b/spec/forms/decidim/term_customizer/admin/translations_import_form_spec.rb @@ -57,19 +57,6 @@ module Admin it { is_expected.not_to be_valid } end - - context "when invalid file type is provided" do - let(:file) do - upload_test_file( - Rack::Test::UploadedFile.new( - file_fixture("set-translations.json"), - "text/plain" - ) - ) - end - - it { is_expected.not_to be_valid } - end end end end