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

Version Path
nitro-0.41.0 test/nitro/compiler/tc_compiler.rb
nitro-0.30.0 test/nitro/compiler/tc_compiler.rb
nitro-0.31.0 test/nitro/compiler/tc_compiler.rb
nitro-0.40.0 test/nitro/compiler/tc_compiler.rb