Sha256: 1e84876a9846e2845dde81a6f3bdd4567a02b7cfc81bcebbe91abd898ce9c761

Contents?: true

Size: 477 Bytes

Versions: 8

Compression:

Stored size: 477 Bytes

Contents

require 'asl-test-utils'

class AslGroupShowTest < Test::Unit::TestCase
  include AslTestUtils

  def setup
    super
    @command = File.join(@bin_dir, "asl-groupshow")
  end

  def test_exist_group
    make_dummy_group do |group|
      assert_equal([true, group.to_ldif, ""], run_command(group.cn))
    end
  end

  def test_not_exist_group
    assert_equal([false, "", _("group doesn't exist: %s") % 'not-exist' + "\n"],
                 run_command("not-exist"))
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
activesambaldap-0.1.0 test/test_asl_groupshow.rb
activesambaldap-0.0.9 test/test_asl_groupshow.rb
activesambaldap-0.0.8 test/test_asl_groupshow.rb
ActiveSambaLdap-0.0.7 test/test_asl_groupshow.rb
activesambaldap-0.0.7 test/test_asl_groupshow.rb
activesambaldap-0.0.6 test/test_asl_groupshow.rb
activesambaldap-0.0.5 test/test_asl_groupshow.rb
activesambaldap-0.0.4 test/test_asl_groupshow.rb