module Pathes
Public Class Methods
assets_path()
click to toggle source
# File lib/rspec/flaky/pathes.rb, line 21 def assets_path Pathname.new(__dir__).join("../../../assets/") end
base_path()
click to toggle source
# File lib/rspec/flaky/pathes.rb, line 13 def base_path Pathname.new(FileUtils.pwd) end
relative_path(path)
click to toggle source
# File lib/rspec/flaky/pathes.rb, line 17 def relative_path path path.relative_path_from(summary_path).to_s end
summary_path()
click to toggle source
# File lib/rspec/flaky/pathes.rb, line 9 def summary_path base_path.join('tmp/flaky_tests') end
template_path()
click to toggle source
# File lib/rspec/flaky/pathes.rb, line 5 def template_path assets_path.join("layout.html.erb") end