allow mechanize session to pass through basic auth

This commit is contained in:
Ryan Briones 2008-11-13 23:35:30 -05:00 committed by Bryan Helmkamp
parent 82b1553719
commit 2603ad405b
1 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,8 @@ module Webrat
def response_code
@response.code.to_i
end
def_delegators :@mechanize, :basic_auth
end
end
end