Sha256: 3cc441c87c735b4881f911627d73bcbbefdb5402a2c7f99a6a69c7e683841d14

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.29.0 test/nitro/compiler/tc_compiler.rb