# File tests/drivers/mock/instances_test.rb, line 76 def test_it_responses_to_html get_auth_url '/api/instances', {}, { :format => :html } last_response.status.should == 200 Nokogiri::HTML(last_response.body).search('html').first.name.should == 'html' get_auth_url '/api/instances/inst1', {}, { :format => :html } last_response.status.should == 200 Nokogiri::HTML(last_response.body).search('html').first.name.should == 'html' end