Refactor FileWatcher
This commit is contained in:
parent
6ccab8e071
commit
9ae8a3128b
12 changed files with 98 additions and 48 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue