Sha256: cbdc59095e239e4d187da4daab9a3a84877bf2271ad1323846778c6a1eef1601

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

require 'test/unit'
require 'damagecontrol/publisher/base'

module DamageControl
  module Publisher
    class BaseTest < Test::Unit::TestCase
      def test_should_load_all_scm_classes
        expected = [
          #AmbientOrb,
          #BuildDuration,
          Email,
          #Execute,
          Growl,
          #Irc,
          Jabber,
          #X10Cm11A,
          #X10Cm17A,
          #Yahoo
        ]
        assert_equal(
          expected.collect{|c| c.name},
          Base.classes.collect{|c| c.name}.sort)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
damagecontrol-0.5.0.1391 test/damagecontrol/publisher/base_test.rb
damagecontrol-0.5.0.1392 test/damagecontrol/publisher/base_test.rb
damagecontrol-0.5.0.1393 test/damagecontrol/publisher/base_test.rb
damagecontrol-0.5.0.1404 test/damagecontrol/publisher/base_test.rb