Sha256: 822ba015efdc4ce9124192236832cd7ae551dec1399be2aa5656522f05b5822c
Contents?: true
Size: 489 Bytes
Versions: 8
Compression:
Stored size: 489 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper.rb') class SspiContextTest < Test::Unit::TestCase if Net::SSH::Kerberos::Drivers.available.include? 'SSPI' def setup @gss = Net::SSH::Kerberos::Drivers::SSPI::Context.new end def teardown @gss.dispose end def test_create @gss.create ENV['USER'], Socket.gethostbyname('localhost')[0] assert @gss.credentials?, "Should have acquired credentials" end else def test_nothing; assert true end end end
Version data entries
8 entries across 8 versions & 1 rubygems