From 3134d1ce739d56fa97881174199f531b1a05c0e4 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sat, 29 Nov 2008 00:21:49 -0500 Subject: [PATCH] Add pending spec for not unencoding entities in textarea default values --- spec/api/click_button_spec.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/spec/api/click_button_spec.rb b/spec/api/click_button_spec.rb index 70f5b15..6e19c80 100644 --- a/spec/api/click_button_spec.rb +++ b/spec/api/click_button_spec.rb @@ -329,6 +329,21 @@ describe "click_button" do click_button end + it "should properly handle HTML entities in textarea default values" do + pending "needs bug fix" do + with_html <<-HTML + +
+ + +
+ + HTML + webrat_session.should_receive(:post).with("/posts", "post" => {"body" => "Peanut butter & jelly"}) + click_button + end + end + it "should send default selected option value from select" do with_html <<-HTML