convert helper specs to request specs

as the new api involves content_for :javscripts