Sha256: ba0cc5502d9881fa3dd4c13bb3a3ff7bedd7663cb33bb58cdccfdb113740a7b0

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 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 Nitro

	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

6 entries across 6 versions & 1 rubygems

Version Path
nitro-0.16.0 test/nitro/tc_session.rb
nitro-0.17.0 test/nitro/tc_session.rb
nitro-0.18.0 test/nitro/tc_session.rb
nitro-0.18.1 test/nitro/tc_session.rb
nitro-0.19.0 test/nitro/tc_session.rb
nitro-0.20.0 test/nitro/tc_session.rb