summary refs log tree commit
path: root/tests
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2010-09-22 22:21:02 +0200
committerFlorian Frank <flori@ping.de>2010-09-23 01:16:01 +0200
commite3fe104e7d5ec184aac36128aed2d217cb655dfc (patch)
tree3a63dc0152effdb990defcd5c935e38209649a8f /tests
parent2c0f8d2c9b15a33b8d10ffcb1959aef54d320b57 (diff)
downloadruby-json-e3fe104e7d5ec184aac36128aed2d217cb655dfc.tar.gz
started to build jruby extension with Rakefile
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_json_addition.rb2
-rwxr-xr-xtests/test_json_generate.rb2
-rwxr-xr-xtests/test_json_rails.rb2
3 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_json_addition.rb b/tests/test_json_addition.rb
index 2c89e39..34f0a71 100755
--- a/tests/test_json_addition.rb
+++ b/tests/test_json_addition.rb
@@ -7,7 +7,7 @@ when 'pure' then require 'json/pure'
 when 'ext'  then require 'json/ext'
 else             require 'json'
 end
-require 'json/add/core'
+load 'json/add/core.rb'
 require 'date'
 
 class TC_JSONAddition < Test::Unit::TestCase
diff --git a/tests/test_json_generate.rb b/tests/test_json_generate.rb
index 69c967e..5380a06 100755
--- a/tests/test_json_generate.rb
+++ b/tests/test_json_generate.rb
@@ -84,6 +84,8 @@ EOT
     assert_raise(GeneratorError) { fast_generate(666) }
   end
 
+
+
   def test_states
     json = generate({1=>2}, nil)
     assert_equal('{"1":2}', json)
diff --git a/tests/test_json_rails.rb b/tests/test_json_rails.rb
index 7c3d51d..daa053c 100755
--- a/tests/test_json_rails.rb
+++ b/tests/test_json_rails.rb
@@ -7,7 +7,7 @@ when 'pure' then require 'json/pure'
 when 'ext'  then require 'json/ext'
 else             require 'json'
 end
-require 'json/add/rails'
+load 'json/add/rails.rb'
 require 'date'
 
 class TC_JSONRails < Test::Unit::TestCase