Uses the frozen_string_literal magic comment (will be the default in Ruby 3)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::DynamicFinders::Base do
|
||||
subject(:dynamic_finders) { described_class }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::DynamicFinders::Plugin do
|
||||
subject(:dynamic_finders) { described_class }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::DynamicFinders::Theme do
|
||||
subject(:dynamic_finders) { described_class }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::DynamicFinders::Wordpress do
|
||||
subject(:dynamic_finders) { described_class }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::Fingerprints do
|
||||
describe '#unique_fingerprints' do
|
||||
# Handled in #wp_unique_fingerprints
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::Plugin do
|
||||
describe '#vulnerabilities' do
|
||||
# Handled in spec/app/models/plugin_spec
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::Plugins do
|
||||
subject(:plugins) { described_class }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::Theme do
|
||||
describe '#vulnerabilities' do
|
||||
# Handled in spec/app/models/theme_spec
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::Themes do
|
||||
subject(:themes) { described_class }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::WpItem do
|
||||
describe '#vulnerabilities' do
|
||||
# Handled in spec/app/models/plugin_spec
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::WpItems do
|
||||
# Handled in plugins_spec & themes_spec
|
||||
end
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe WPScan::DB::Version do
|
||||
describe '#vulnerabilities' do
|
||||
# Handled in spec/app/models/wp_version_spec
|
||||
|
||||
Reference in New Issue
Block a user