features/steps/common.rb in choctop-0.9.2 vs features/steps/common.rb in choctop-0.9.3

- old
+ new

@@ -48,9 +48,15 @@ in_project_folder do FileUtils.rm_rf folder end end +Given %r{file '(.*)' is deleted} do |file| + in_project_folder do + FileUtils.rm_rf file + end +end + When %r{^'(.*)' generator is invoked with arguments '(.*)'$} do |generator, arguments| @stdout = StringIO.new FileUtils.chdir(@active_project_folder) do if Object.const_defined?("APP_ROOT") APP_ROOT.replace(FileUtils.pwd)