Sha256: 1aca71ec58dac5810c9a778f5f07d6066e66152b344a2b36526a67053099ad6f

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

class AbiquoPlatformTest < Test::Unit::TestCase
  
    def test_tomcat_running
      assert !`ps aux|grep java|grep '/opt/abiquo/tomcat'`.strip.chomp.empty?
    end
    
    def test_tomcat_enabled
      assert ::TestUtils.service_on?('abiquo-tomcat')
    end

    def test_abiquo_dir
      assert File.directory? '/opt/abiquo/tomcat'
    end
    
    def test_firewall_service_enabled
      assert !::TestUtils.service_on?('iptables')
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abiquo-installer-tests-0.2 tests/1.8.0/abiquo_platform.rb