converted test.html to rails files