Sha256: 29999b389eebab65d70641f3fd1d44e2e196fa921fd2f30f151ba6b81db5e733

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

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

require 'test/unit'

require 'nitro/caching'

class TC_Caching < Test::Unit::TestCase # :nodoc: all
	include Nitro
	
	class DummyCa
		include Nitro::Caching
	end

	def test_all
		# bug:
		assert_equal [], Caching.public_instance_methods
		assert_equal [], DummyCa.public_instance_methods.grep(/caching/)
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.19.0 test/nitro/tc_caching.rb
nitro-0.20.0 test/nitro/tc_caching.rb