Sha256: 5c058025a4f25af79ac4777c739e8ffbd975c9be908b00da8863b3300daa7c9c

Contents?: true

Size: 308 Bytes

Versions: 72

Compression:

Stored size: 308 Bytes

Contents

require File.dirname(__FILE__) + '/helper'

class TestRegistry < Test::Unit::TestCase
  def setup
    God.registry.reset
  end
  
  def test_add
    foo = God::Process.new
    foo.name = 'foo'
    God.registry.add(foo)
    assert_equal 1, God.registry.size
    assert_equal foo, God.registry['foo']
  end
end

Version data entries

72 entries across 72 versions & 21 rubygems

Version Path
dguettler-god-0.7.13.2 test/test_registry.rb
dguettler-god-0.7.13.3 test/test_registry.rb
dosire-god-0.7.10 test/test_registry.rb
dosire-god-0.7.12 test/test_registry.rb
dosire-god-0.7.9 test/test_registry.rb
dunedain289-god-0.7.12.1 test/test_registry.rb
dustin-god-0.7.7.1 test/test_registry.rb
eric-god-0.7.10 test/test_registry.rb
eric-god-0.7.11 test/test_registry.rb
eric-god-0.7.12 test/test_registry.rb
eric-god-0.7.14 test/test_registry.rb
eric-god-0.7.7 test/test_registry.rb
fotonauts-god-0.7.10 test/test_registry.rb
fotonauts-god-0.7.12 test/test_registry.rb
gohanlonllc-god-0.7.9 test/test_registry.rb
gordoncww-god-0.7.11.1 test/test_registry.rb
jreynolds-god-0.7.13 test/test_registry.rb
jwilkins-god-0.7.9 test/test_registry.rb
mathieuravaux-god-0.7.11 test/test_registry.rb
mojombo-god-0.7.10 test/test_registry.rb