Sha256: ef5cdafb5e4d1d0de12d949b4decaa9e6f6a4aec4626e9ce7e911155d453356f

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 Bytes

Contents

########################################################################
# test_security.rb
#
# Test suite for the Win32::Security base class. You should run these
# tests via the 'rake test' task.
########################################################################
require 'rubygems'
gem 'test-unit'

require 'test/unit'
require 'win32/security'

class TC_Win32_Security < Test::Unit::TestCase
   def test_version
      assert_equal('0.1.2', Win32::Security::VERSION)
   end

   def test_elevated_security
      assert_respond_to(Win32::Security, :elevated_security?)
      assert_boolean(Win32::Security.elevated_security?)
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
win32-security-0.1.2 test/test_security.rb