rspec test extrac the html