Sha256: 983033bbc352b9a0b620534ac3047e7058455b495db309b94bec4365c469461f

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

require File.join(File.dirname(__FILE__), 'CONFIG.rb')

require 'test/unit'
require 'ostruct'

require 'nitro/context'

class TC_Context < Test::Unit::TestCase # :nodoc: all
  include Nitro
  
  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 & 2 rubygems

Version Path
nitro-0.41.0 test/nitro/tc_context.rb
nitro-0.31.0 test/nitro/tc_context.rb
nitro-0.30.0 test/nitro/tc_context.rb
nitro-0.40.0 test/nitro/tc_context.rb
raw-0.49.0 test/nitro/tc_context.rb