From 1048ef659392a39223f6d8913fdd72a505d66b90 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Thu, 25 Feb 2021 13:02:34 -0600 Subject: [PATCH] Remove outdated cve specs --- .rubocop.yml | 4 ---- spec/cve/cve_2014_2538_spec.rb | 19 ------------------- spec/cve/cve_2015_3225_spec.rb | 17 ----------------- spec/cve/cve_2015_3226_spec.rb | 16 ---------------- 4 files changed, 56 deletions(-) delete mode 100644 spec/cve/cve_2014_2538_spec.rb delete mode 100644 spec/cve/cve_2015_3225_spec.rb delete mode 100644 spec/cve/cve_2015_3226_spec.rb diff --git a/.rubocop.yml b/.rubocop.yml index 332cb799..3fc22a02 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -662,9 +662,6 @@ AllCops: - 'spec/controllers/super_admins_spec.rb' - 'spec/controllers/recurring_donations_spec.rb' - 'spec/controllers/events_spec.rb' - - 'spec/cve/cve_2015_3226_spec.rb' - - 'spec/cve/cve_2014_2538_spec.rb' - - 'spec/cve/cve_2015_3225_spec.rb' - 'spec/support/contexts.rb' - 'spec/support/factory_bot.rb' - 'spec/support/mock_helpers.rb' @@ -672,7 +669,6 @@ AllCops: - 'spec/support/contexts/shared_donation_charge_context.rb' - 'spec/support/contexts/general_shared_user_context.rb' - 'spec/support/payments_for_a_payout.rb' - - 'spec/support/expect.rb' - 'spec/support/test_upload_service.rb' - 'spec/requests/nonprofits/direct_debit_details_spec.rb' - 'spec/migration/delete_tag_join_spec.rb' diff --git a/spec/cve/cve_2014_2538_spec.rb b/spec/cve/cve_2014_2538_spec.rb deleted file mode 100644 index e4513da5..00000000 --- a/spec/cve/cve_2014_2538_spec.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -require 'rails_helper' -require 'rack/ssl' -describe Rack::SSL do - describe '.call' do - it 'invalid uri returns 404' do - def test_invalid_uri_returns_404 - # Can't test this with Rack::Test because it fails on the URI before it - # even gets to Rack::SSL. Other webservers will pass this URI through. - ssl = Rack::SSL.new(nil) - resp = ssl.call('PATH_INFO' => 'https://example.org/path/