Refactor FileWatcher

This commit is contained in:
Thomas Reynolds 2014-03-25 16:54:16 -07:00
parent 6ccab8e071
commit 9ae8a3128b
12 changed files with 98 additions and 48 deletions

View file

@ -9,9 +9,9 @@ Then /^the file "([^\"]*)" is removed$/ do |path|
end
Then /^the file "([^\"]*)" did change$/ do |path|
@server_inst.extensions[:file_watcher].api.did_change(path)
@server_inst.files.did_change(path)
end
Then /^the file "([^\"]*)" did delete$/ do |path|
@server_inst.extensions[:file_watcher].api.did_delete(path)
@server_inst.files.did_delete(path)
end