fixing couple of specs

material_search_html_spec.rb & _pipeline_material_revisions_html_spec.rb