lib/fitting/records/tested/request.rb in fitting-2.17.0 vs lib/fitting/records/tested/request.rb in fitting-2.18.0
- old
+ new
@@ -26,10 +26,10 @@
def response
@response ||= Fitting::Records::Tested::Response.new(@env_response)
end
def test_path
- @test_path ||= @test_title[/#{'\(\.'}(.*?)#{'\)'}/m, 1] || @test_title[/#{'\.'}(.*?)#{'\"'}/m, 1]
+ @test_path ||= @test_title[/\\(\\.(.*?)\\)/m, 1] || @test_title[/\\.(.*?)\\"/m, 1]
end
def test_file_path
@test_file_path ||= test_path.split(':').first
end