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