Sha256: 18a1684fd9eb05c48b8dd48d75c122dd3762bfa9e1498e1750517137febc8dfb

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')

require 'test/unit'
require 'ostruct'

require 'nitro/context'

class TC_Context < Test::Unit::TestCase # :nodoc: all
	include N
	
	def test_context
		conf = OpenStruct.new
		conf.dispatcher = nil
		c = Context.new(conf)
		assert_equal 200, c.status
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nitro-0.11.0 test/nitro/tc_context.rb
nitro-0.12.0 test/nitro/tc_context.rb
nitro-0.13.0 test/nitro/tc_context.rb
nitro-0.14.0 test/nitro/tc_context.rb
nitro-0.15.0 test/nitro/tc_context.rb