feature_path.gsub!(" ","/")
html_content = unless (feature_path.start_with? "features")
"
Could not find the requestes feature file
"
else
name = feature_path.split("/").last.split(".").first.capitalize.gsub("_"," ")
content = IO.read("#{Dir.pwd}/#{feature_path}")
"#{feature_path.gsub("/"," > ")}
" +
Mutx::View::Parser.feature_html(content)
end
?>
{{html_content}}