aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-08-07 17:50:59 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-07 17:50:59 +0900
commit762e3f05f3d372cb32570db0deeef27232c4dd00 (patch)
tree2c3225f7698ef3f7b2556510136c64a58ecf7355 /activesupport/test/xml_mini
parent0d12708f3967fe93c172b30bd3e98e4433761c36 (diff)
downloadrails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.gz
rails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.bz2
rails-762e3f05f3d372cb32570db0deeef27232c4dd00.zip
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'activesupport/test/xml_mini')
-rw-r--r--activesupport/test/xml_mini/jdom_engine_test.rb2
-rw-r--r--activesupport/test/xml_mini/libxml_engine_test.rb1
2 files changed, 0 insertions, 3 deletions
diff --git a/activesupport/test/xml_mini/jdom_engine_test.rb b/activesupport/test/xml_mini/jdom_engine_test.rb
index 43edd49663..a776ad25c4 100644
--- a/activesupport/test/xml_mini/jdom_engine_test.rb
+++ b/activesupport/test/xml_mini/jdom_engine_test.rb
@@ -3,7 +3,6 @@ if RUBY_PLATFORM.include?("java")
require "active_support/xml_mini"
require "active_support/core_ext/hash/conversions"
-
class JDOMEngineTest < ActiveSupport::TestCase
include ActiveSupport
@@ -56,7 +55,6 @@ if RUBY_PLATFORM.include?("java")
end
end
-
def test_not_allowed_to_load_external_doctypes
attack_xml = <<-EOT
<!DOCTYPE member SYSTEM "file://#{FILES_DIR}/jdom_doctype.dtd">
diff --git a/activesupport/test/xml_mini/libxml_engine_test.rb b/activesupport/test/xml_mini/libxml_engine_test.rb
index d5fd17d06e..81b0d3c407 100644
--- a/activesupport/test/xml_mini/libxml_engine_test.rb
+++ b/activesupport/test/xml_mini/libxml_engine_test.rb
@@ -191,7 +191,6 @@ else
eoxml
end
-
private
def assert_equal_rexml(xml)
parsed_xml = XmlMini.parse(xml)