Permalink
Browse files

silence

  • Loading branch information...
1 parent bd1be46 commit b261e9ce6c2df370efe84b9eb5985492a0203979 @josh josh committed Aug 21, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 test/test_sass.rb
View
@@ -232,8 +232,10 @@ def render(path)
class TestSassCompressor < TestTiltSass
test "compress css" do
- uncompressed = "p {\n margin: 0;\n padding: 0;\n}\n"
- compressed = "p{margin:0;padding:0}\n"
- assert_equal compressed, Sprockets::SassCompressor.compress(uncompressed)
+ silence_warnings do
+ uncompressed = "p {\n margin: 0;\n padding: 0;\n}\n"
+ compressed = "p{margin:0;padding:0}\n"
+ assert_equal compressed, Sprockets::SassCompressor.compress(uncompressed)
+ end
end
end

0 comments on commit b261e9c

Please sign in to comment.