Sha256: 50332cbbf9138ae93b026cfb76319f0b8b7c5bb3a326414a8dbf451e2433cf14

Contents?: true

Size: 491 Bytes

Versions: 8

Compression:

Stored size: 491 Bytes

Contents

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

require 'ostruct'
require 'test/unit'

require 'nitro/session'

class TC_Session < Test::Unit::TestCase # :nodoc: all
	include N

	def test_create_id
		sid = Session.new.session_id
		assert_not_equal sid, Session.new.session_id
		assert_not_equal sid, Session.new.session_id
		assert_not_equal sid, Session.new.session_id
		assert_not_equal sid, Session.new.session_id
		assert_not_equal sid, Session.new.session_id
	end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nitro-0.10.0 test/nitro/tc_session.rb
nitro-0.11.0 test/nitro/tc_session.rb
nitro-0.12.0 test/nitro/tc_session.rb
nitro-0.13.0 test/nitro/tc_session.rb
nitro-0.14.0 test/nitro/tc_session.rb
nitro-0.15.0 test/nitro/tc_session.rb
nitro-0.9.3 test/nitro/tc_session.rb
nitro-0.9.5 test/nitro/tc_session.rb