be aware of spaces in paths. fixed #79
This commit is contained in:
parent
cdebfa4587
commit
7b333140a1
11 changed files with 24 additions and 13 deletions
|
@ -17,6 +17,11 @@ Given /^cleanup built test app$/ do
|
|||
FileUtils.rm_rf(target)
|
||||
end
|
||||
|
||||
Then /^"([^"]*)" should exist$/ do |target_file,|
|
||||
target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", "test-app", "build", target_file)
|
||||
File.exists?(target).should be_true
|
||||
end
|
||||
|
||||
Then /^"([^"]*)" should exist and include "([^"]*)"$/ do |target_file, expected|
|
||||
target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", "test-app", "build", target_file)
|
||||
File.exists?(target).should be_true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue