flock can't break

This commit is contained in:
John Bintz 2011-05-21 10:10:23 -04:00
parent 005ddaaeb2
commit 7363b6f13b
2 changed files with 7 additions and 1 deletions

View File

@ -337,7 +337,7 @@ module FakeFS
end end
def flock(locking_constant) def flock(locking_constant)
raise NotImplementedError #raise NotImplementedError
end end
def mtime def mtime

6
test.watchr Normal file
View File

@ -0,0 +1,6 @@
watch('test/.*_test.rb') { run_tests }
watch('lib/.*.rb') { run_tests }
def run_tests
system 'rake test'
end