lib/mechanical-cuke.rb in mechanical-cuke-0.3.0 vs lib/mechanical-cuke.rb in mechanical-cuke-0.3.1

- old
+ new

@@ -23,9 +23,13 @@ end def response_body current_page.body end + + def basic_auth(username,password) + mechanize.basic_auth(username,password) + end end World(MechanicalCuke) private