features/step_definitions/common_steps.rb in engineyard-dns-0.5.0 vs features/step_definitions/common_steps.rb in engineyard-dns-1.0.0

- old
+ new

@@ -61,10 +61,10 @@ end end Then /^file "(.*)" (is|is not) created/ do |file, is| in_project_folder do - File.exists?(file).should(is == 'is' ? be_true : be_false) + File.exists?(File.expand_path(file)).should(is == 'is' ? be_true : be_false) end end Then /^file with name matching "(.*)" is created/ do |pattern| in_project_folder do