From 6144bb8a55631153f43dda50deb1a33e3a686836 Mon Sep 17 00:00:00 2001 From: Kanezoh Date: Tue, 29 Jun 2021 21:41:04 +0900 Subject: [PATCH] add textarea test --- spec/form/textarea_spec.cr | 27 +++++++++++++++++++++++++++ src/mechanize/form.cr | 7 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 spec/form/textarea_spec.cr diff --git a/spec/form/textarea_spec.cr b/spec/form/textarea_spec.cr new file mode 100644 index 0000000..074d422 --- /dev/null +++ b/spec/form/textarea_spec.cr @@ -0,0 +1,27 @@ +require "../spec_helper" + +WebMock.stub(:get, "example.com/form/textarea").to_return(body: +<<-BODY + + + page_title + + +
+ +