Sha256: c05afd2e3afbfca5034761468a8c5eb8d59920a41e64018b7238dba2378591c6

Contents?: true

Size: 278 Bytes

Versions: 6

Compression:

Stored size: 278 Bytes

Contents

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

require 'test/unit'

require 'nitro/cgi/cookie'

class TC_Cookie < Test::Unit::TestCase # :nodoc: all
  include Nitro
  
  def test_init
    c = Cookie.new('hello', 'world')
    assert_equal '/', c.path
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nitro-0.24.0 test/nitro/cgi/tc_cookie.rb
nitro-0.25.0 test/nitro/cgi/tc_cookie.rb
nitro-0.26.0 test/nitro/cgi/tc_cookie.rb
nitro-0.27.0 test/nitro/cgi/tc_cookie.rb
nitro-0.28.0 test/nitro/cgi/tc_cookie.rb
nitro-0.29.0 test/nitro/cgi/tc_cookie.rb