Sha256: 08f39eee2e5233413ad0026d3e2b8393f2aeeae44fb3c73ada0b801ac03b06cb

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 Bytes

Contents

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

class TestRegistry < Minitest::Test
  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

5 entries across 5 versions & 3 rubygems

Version Path
resurrected_god-0.14.0 test/test_registry.rb
mcproc-2016.2.20 test/test_registry.rb
god-0.13.7 test/test_registry.rb
god-0.13.6 test/test_registry.rb
god-0.13.5 test/test_registry.rb