lib/cucumber/pro/formatter.rb in cucumber-pro-0.0.15 vs lib/cucumber/pro/formatter.rb in cucumber-pro-0.0.16
- old
+ new
@@ -12,9 +12,12 @@
send_header
end
def before_feature(feature)
@path = feature.file # we need this because table_row doens't have a file_colon_line
+ if Cucumber::WINDOWS
+ @path = @path.gsub(/\\/, '/')
+ end
end
def before_step_result(*args)
keyword, step_match, multiline_arg, status, exception, source_indent, background, file_colon_line = *args
path, line = *file_colon_line.split(':')