Sha256: 97edcaadab75897732ecd487d72c095358302ec363e284bb909bc5bcf15bc19f
Contents?: true
Size: 470 Bytes
Versions: 4
Compression:
Stored size: 470 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'CONFIG.rb') require 'test/unit' require 'nitro/test/testcase' require 'nitro' require 'nitro/test/context' class TC_Compiler < Test::Unit::TestCase class TestController < Nitro::Controller def test(arg1, arg2); end end def setup Server.map['/'] = TestController reset_context() end def test_no_param_specified assert_nothing_raised do process(:uri => '/test//two') end end end
Version data entries
4 entries across 4 versions & 1 rubygems