|
|
|
@ -32,6 +32,10 @@ def csv_file(file) |
|
|
|
"#{File.expand_path(File.dirname(__FILE__))}/data/csv/#{file}" |
|
|
|
"#{File.expand_path(File.dirname(__FILE__))}/data/csv/#{file}" |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def xlsx_file(file) |
|
|
|
|
|
|
|
"#{File.expand_path(File.dirname(__FILE__))}/data/xlsx/#{file}" |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def overwrite_sample(sample_name, log) |
|
|
|
def overwrite_sample(sample_name, log) |
|
|
|
# Use this to overwrite the regression with current state |
|
|
|
# Use this to overwrite the regression with current state |
|
|
|
File.open(sample_regression_file(sample_name), 'w+:UTF-8') do |f| |
|
|
|
File.open(sample_regression_file(sample_name), 'w+:UTF-8') do |f| |
|
|
|
|