Permalink
Browse files

Implement a pending arbre spec

  • Loading branch information...
1 parent 29f9b14 commit 97132fd51e4c08a53f617e2739084b2e75cae5fa Ben Marini committed May 26, 2011
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.