We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc30dc1 commit 375a469Copy full SHA for 375a469
1 file changed
app/models/concerns/has_test_job.rb
@@ -53,7 +53,7 @@ def test_job_id_key
53
54
def test_results_path
55
path_id = Rails.env.test? ? "fakeid_#{model_name.singular}_#{id}" : test_job_id
56
- File.join(Rails.root, 'tmp', "test_results_#{path_id}.yml")
+ Rails.root.join('tmp', 'source_test_results').tap { |d| d.mkdir unless d.exist? }.join("test_results_#{path_id}.yml")
57
end
58
59
def deep_hashify(params)
0 commit comments