aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini/jdom_engine_test.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-11-20 09:06:17 -0500
committerJon Moss <me@jonathanmoss.me>2016-11-20 10:45:58 -0500
commit2bdc4ddc065cb395f287f1511f9cb14059a66652 (patch)
treecf8e66db7139fbaa696e40018068e7ac2dfe8143 /activesupport/test/xml_mini/jdom_engine_test.rb
parent305e2922a4b358f0ae5630672b6144d3013b603d (diff)
downloadrails-2bdc4ddc065cb395f287f1511f9cb14059a66652.tar.gz
rails-2bdc4ddc065cb395f287f1511f9cb14059a66652.tar.bz2
rails-2bdc4ddc065cb395f287f1511f9cb14059a66652.zip
Code styling cleanup
Diffstat (limited to 'activesupport/test/xml_mini/jdom_engine_test.rb')
-rw-r--r--activesupport/test/xml_mini/jdom_engine_test.rb16
1 files changed, 10 insertions, 6 deletions
diff --git a/activesupport/test/xml_mini/jdom_engine_test.rb b/activesupport/test/xml_mini/jdom_engine_test.rb
index f42fc195cc..3034bc7148 100644
--- a/activesupport/test/xml_mini/jdom_engine_test.rb
+++ b/activesupport/test/xml_mini/jdom_engine_test.rb
@@ -42,12 +42,16 @@ if RUBY_PLATFORM.include?("java")
private
- def adapter_name
- "JDOM"
- end
+ def engine
+ "JDOM"
+ end
- def expansion_attack_error
- Java::OrgXmlSax::SAXParseException
- end
+ def expansion_attack_error
+ Java::OrgXmlSax::SAXParseException
+ end
+
+ def extended_engine?
+ false
+ end
end
end