Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Implement a pending arbre spec

  • Loading branch information...
commit 97132fd51e4c08a53f617e2739084b2e75cae5fa 1 parent 29f9b14
Ben Marini authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 spec/unit/arbre/html_spec.rb
View
6 spec/unit/arbre/html_spec.rb
@@ -200,7 +200,11 @@
HTML
end
- it "should escape the contents of attributes"
+ it "should escape the contents of attributes" do
+ span(:class => "<br />").to_html.should == <<-HTML
+<span class="&lt;br /&gt;"></span>
+HTML
+ end
end
end

0 comments on commit 97132fd

Please sign in to comment.
Something went wrong with that request. Please try again.