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