Permalink
Browse files

Adding a simple test for CSS proxies

  • Loading branch information...
1 parent 2385b64 commit 575774e47d6403a6ff9865583ec87b1839647e88 @judofyr committed Jul 14, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/basic_spec.rb
View
@@ -50,5 +50,12 @@
P { tag.li }.should == '<li/>'
meta_eval { remove_method(:li) }
+ end
+
+ it "should handle CSS proxies" do
+ P { div.footer!("content") }.
+ should == '<div id="footer">content</div>'
+ P { div.foo.bar.foobar }.
+ should == '<div class="foo bar foobar"/>'
end
end

0 comments on commit 575774e

Please sign in to comment.