lib/mechanical-cuke.rb in mechanical-cuke-0.1.0 vs lib/mechanical-cuke.rb in mechanical-cuke-0.2.0
- old
+ new
@@ -16,9 +16,13 @@
session = Mechanize.new
end
private
+def response_body
+ current_page.body
+end
+
def form
current_page.forms.first
end
def find_by_id(id)