Permalink
Browse files

Loading files if PLATFORM available.

  • Loading branch information...
1 parent 7f34d5b commit 98cd7ca8ec99b857ef86e9fd8f9cb84dcb64ebb0 @arunagw arunagw committed Jun 1, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 activesupport/test/xml_mini/jdom_engine_test.rb
@@ -1,10 +1,9 @@
-require 'abstract_unit'
-require 'active_support/xml_mini'
-require 'active_support/core_ext/hash/conversions'
-
if RUBY_PLATFORM =~ /java/
+ require 'abstract_unit'
+ require 'active_support/xml_mini'
+ require 'active_support/core_ext/hash/conversions'
-class JDOMEngineTest < Test::Unit::TestCase
+ class JDOMEngineTest < Test::Unit::TestCase
include ActiveSupport
def setup

0 comments on commit 98cd7ca

Please sign in to comment.