Sha256: 983768a5908d88a4fe3ea3b30283cbde967c93146d32acfb8ea414e3fec4e5e0

Contents?: true

Size: 464 Bytes

Versions: 3

Compression:

Stored size: 464 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 'not-exist' doesn't exist.\n"],
                 run_command("not-exist"))
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activesambaldap-0.0.1 test/test_asl_groupshow.rb
activesambaldap-0.0.2 test/test_asl_groupshow.rb
activesambaldap-0.0.3 test/test_asl_groupshow.rb