Sha256: fa89bb89d08c4ef8972050207c372943f28ccd425406ee11d091fc9fca577413
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
require 'helper' class MockLockitDir include LockIt::Mixin def path '.' end def test_lock_content args = {} lock_content args end def test_lock_file lock_file end end class TestLockit < Test::Unit::TestCase def test_lock_name d = MockLockitDir.new assert_equal(d.test_lock_file, './lock.txt') end def test_lock_content d = MockLockitDir.new str = d.test_lock_content assert_match /[^ ]+ \d+/, str end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lockit-0.0.0 | test/test_lockit.rb |