Add pending spec for not unencoding entities in textarea default values
This commit is contained in:
parent
f032a8de73
commit
3134d1ce73
|
@ -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>
|
||||
<form method="post" action="/posts">
|
||||
<textarea name="post[body]">Peanut butter & jelly</textarea>
|
||||
<input type="submit" />
|
||||
</form>
|
||||
</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
|
||||
<html>
|
||||
|
|
Loading…
Reference in New Issue