Skip to content

Commit

Permalink
Loading files if PLATFORM available.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Jun 1, 2011
1 parent 7f34d5b commit 98cd7ca
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions activesupport/test/xml_mini/jdom_engine_test.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,9 @@
require 'abstract_unit'
require 'active_support/xml_mini'
require 'active_support/core_ext/hash/conversions'

if RUBY_PLATFORM =~ /java/ 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 include ActiveSupport


def setup def setup
Expand Down

0 comments on commit 98cd7ca

Please sign in to comment.