Sha256: 5c1ea58e031d2433f057a3e630e19155dc554f5d97c6aa568f5b32aff548badc
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
require 'asl-test-utils' class AslPurgeTest < Test::Unit::TestCase include AslTestUtils def setup super @command = File.join(@bin_dir, "asl-purge") end def test_run_as_normal_user assert_equal([false, "", _("need root authority.") + "\n"], run_command_as_normal_user) end def test_populate assert_not_equal([], ActiveSambaLdap::Base.search) assert_equal([true, "", ""], run_command) assert_equal([], ActiveSambaLdap::Base.search) end end
Version data entries
8 entries across 8 versions & 2 rubygems