# File tests/drivers/mock/hardware_profiles_test.rb, line 87 def test_it_responses_to_html get_url '/api/hardware_profiles', {}, { :format => :html } last_response.status.should == 200 Nokogiri::HTML(last_response.body).search('html').first.name.should == 'html' get_url '/api/hardware_profiles/m1-xlarge', {}, { :format => :html } last_response.status.should == 200 Nokogiri::HTML(last_response.body).search('html').first.name.should == 'html' end