From a1e57c5ca9d37ab3fcd8239fa5582d3f5e6f03c7 Mon Sep 17 00:00:00 2001 From: Kanezoh Date: Wed, 30 Jun 2021 14:05:17 +0900 Subject: [PATCH] add image button test --- spec/form_spec.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/form_spec.cr b/spec/form_spec.cr index 3fc3d79..2e39960 100644 --- a/spec/form_spec.cr +++ b/spec/form_spec.cr @@ -23,6 +23,7 @@ WebMock.stub(:get, "example.com/check_form").to_return(body: + @@ -47,6 +48,6 @@ describe "Mechanize Form test" do form.fields.size.should eq 4 form.checkboxes.size.should eq 1 form.radiobuttons.size.should eq 3 - form.buttons.size.should eq 3 + form.buttons.size.should eq 4 end end