From 48f810cf6b0d44f5d78e6c7d72514a271e178759 Mon Sep 17 00:00:00 2001 From: Michael S. Klishin Date: Sat, 27 Dec 2008 04:40:57 +0300 Subject: [PATCH] Delegate response to session: otherwise, Merb/Cucumber suite won't run on 0.3.2.2 --- lib/webrat/core/methods.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/webrat/core/methods.rb b/lib/webrat/core/methods.rb index 0d993e8..3f0a0e6 100644 --- a/lib/webrat/core/methods.rb +++ b/lib/webrat/core/methods.rb @@ -26,7 +26,7 @@ module Webrat # that #request and webrat native functions behave interchangably delegate_to_session \ - :visits, :visit, + :response, :visits, :visit, :within, :header, :http_accept, :basic_auth, :save_and_open_page, -- 1.5.6.5