Reduce work converting paths from relative to absolute and back again
This commit is contained in:
parent
1f22184fc7
commit
62fa17cf1a
7 changed files with 40 additions and 46 deletions
|
@ -9,9 +9,9 @@ Then /^the file "([^\"]*)" is removed$/ do |path|
|
|||
end
|
||||
|
||||
Then /^the file "([^\"]*)" did change$/ do |path|
|
||||
@server_inst.files.did_change(@server_inst.root_path + path)
|
||||
@server_inst.files.did_change(path)
|
||||
end
|
||||
|
||||
Then /^the file "([^\"]*)" did delete$/ do |path|
|
||||
@server_inst.files.did_delete(@server_inst.root_path + path)
|
||||
end
|
||||
@server_inst.files.did_delete(path)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue