lib/mechanize/test_case/servlets.rb in mechanize-2.7.4 vs lib/mechanize/test_case/servlets.rb in mechanize-2.7.5
- old
+ new
@@ -19,10 +19,11 @@
require 'mechanize/test_case/redirect_servlet'
require 'mechanize/test_case/referer_servlet'
require 'mechanize/test_case/refresh_with_empty_url'
require 'mechanize/test_case/refresh_without_url'
require 'mechanize/test_case/response_code_servlet'
+require 'mechanize/test_case/robots_txt_servlet'
require 'mechanize/test_case/send_cookies_servlet'
require 'mechanize/test_case/verb_servlet'
MECHANIZE_TEST_CASE_SERVLETS = {
'/bad_chunking' => BadChunkingServlet,
@@ -47,9 +48,11 @@
'/redirect' => RedirectServlet,
'/referer' => RefererServlet,
'/refresh_with_empty_url' => RefreshWithEmptyUrl,
'/refresh_without_url' => RefreshWithoutUrl,
'/response_code' => ResponseCodeServlet,
+ '/robots.txt' => RobotsTxtServlet,
+ '/robots_txt' => RobotsTxtServlet,
'/send_cookies' => SendCookiesServlet,
'/verb' => VerbServlet,
}