allow mechanize session to pass through basic auth
This commit is contained in:
parent
82b1553719
commit
2603ad405b
|
@ -35,6 +35,8 @@ module Webrat
|
|||
def response_code
|
||||
@response.code.to_i
|
||||
end
|
||||
|
||||
def_delegators :@mechanize, :basic_auth
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue