Changeset 130
- Timestamp:
- 01/24/2007 15:54:51 (22 months ago)
- Location:
- trunk/test
- Files:
-
- 2 modified
-
test_refs.rb (modified) (1 diff)
-
test_stdlib.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/test_refs.rb
r105 r130 35 35 @s.eval("TestRefsModule.query('SELECT * FROM freakyfreaky')") 36 36 end 37 38 def test_recursive_sandbox 39 @s.import Sandbox::Safe 40 assert_equal @s.eval(%{s = Sandbox.new; s.eval "2+2"}), 4 41 end 37 42 end -
trunk/test/test_stdlib.rb
r52 r130 4 4 require 'test/unit' 5 5 6 class Test Exploits< Test::Unit::TestCase6 class TestStdlib < Test::Unit::TestCase 7 7 def path(p) 8 8 File.join(File.dirname(__FILE__), p)
