lib/aipim-rails/parser.rb in aipim-rails-0.0.166 vs lib/aipim-rails/parser.rb in aipim-rails-0.0.168
- old
+ new
@@ -2,10 +2,11 @@
module Parser
# inicia o processo de parset
def self.init(filename)
+ system("mkdir -p aipim/screenshots/#{filename}")
parser(filename)
end
def self.tag_screenshot(line,file,workset)
@@ -79,10 +80,10 @@
# variaveis de trabalho
workset = {
screenshot: false,
screenshot_counter: 0,
screenshots: screenshots,
- feature_name: nil,
+ feature_name: "",
feature_description: [],
context_name: nil,
context_description: [],
scenarios: []
}