Class: Webrat::MechanizeAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber-wordpress/webrat-patches.rb

Instance Method Summary collapse

Instance Method Details

#mechanizeObject



84
85
86
87
88
89
90
# File 'lib/cucumber-wordpress/webrat-patches.rb', line 84

def mechanize
  @mechanize ||= begin
    mechanize = Mechanize.new
    mechanize.redirect_ok = true
    mechanize
  end
end