Sha256: 7e5264dba07a3ee9221ebc4173c4d7df6da0da218a94ef4146cb1183e4936310

Contents?: true

Size: 340 Bytes

Versions: 10

Compression:

Stored size: 340 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 Nitro
  
  def test_context
    conf = OpenStruct.new
    conf.dispatcher = nil
    c = Context.new(conf)
    assert_equal 200, c.status
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nitro-0.21.0 test/nitro/tc_context.rb
nitro-0.21.2 test/nitro/tc_context.rb
nitro-0.22.0 test/nitro/tc_context.rb
nitro-0.23.0 test/nitro/tc_context.rb
nitro-0.24.0 test/nitro/tc_context.rb
nitro-0.25.0 test/nitro/tc_context.rb
nitro-0.26.0 test/nitro/tc_context.rb
nitro-0.27.0 test/nitro/tc_context.rb
nitro-0.28.0 test/nitro/tc_context.rb
nitro-0.29.0 test/nitro/tc_context.rb