class XMLMiniEngineTest

Public Class Methods

inherited(base) click to toggle source
Calls superclass method
# File activesupport/test/xml_mini/xml_mini_engine_test.rb, line 19
def self.inherited(base)
  base.include EngineTests
  super
end
run_with_gem(gem_name) { || ... } click to toggle source
# File activesupport/test/xml_mini/xml_mini_engine_test.rb, line 8
def self.run_with_gem(gem_name)
  require gem_name
  yield
rescue LoadError
  # Skip tests unless gem is available
end
run_with_platform(platform_name) { || ... } click to toggle source
# File activesupport/test/xml_mini/xml_mini_engine_test.rb, line 15
def self.run_with_platform(platform_name)
  yield if RUBY_PLATFORM.include?(platform_name)
end

Public Instance Methods

setup() click to toggle source
Calls superclass method
# File activesupport/test/xml_mini/xml_mini_engine_test.rb, line 24
def setup
  @default_backend = ActiveSupport::XmlMini.backend
  ActiveSupport::XmlMini.backend = engine
  super
end
teardown() click to toggle source
Calls superclass method
# File activesupport/test/xml_mini/xml_mini_engine_test.rb, line 30
def teardown
  ActiveSupport::XmlMini.backend = @default_backend
  super
end