<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,83 +18,40 @@ describe &quot;contrib test case&quot; do
 
 	### HTML filter options contributed by Florian Gross.
 
-	# Test the :filter_html restriction
   it &quot;should filter HTML&quot; do
     bc = bluecloth DangerousHtml, :filter_html
-
-		# Accessors
-		bc.filter_html.should == true
-		bc.filter_styles.should be_nil
-
-		# Test rendering with filters on
-		bc.to_html.should == DangerousHtmlOutput
-
-		# Test setting it in a sub-array
-    bc = bluecloth DangerousHtml, [:filter_html]
 		
-		# Accessors
-		bc.filter_html.should == true
 		bc.filter_styles.should be_nil
+		bc.filter_html.should be_true
 
-		# Test rendering with filters on
 		bc.to_html.should == DangerousHtmlOutput
 	end
 
-
-	# Test the :filter_styles restriction
   it &quot;should filter styles&quot; do
-    pending
-		rval = bc = nil
-
-		# Test as a 1st-level param
-		assert_nothing_raised {
-			bc = BlueCloth::new( DangerousHtml, :filter_styles )
-		}
-		assert_instance_of BlueCloth, bc
+		bc = bluecloth DangerousHtml, :filter_styles
 		
-		# Accessors
-		assert_nothing_raised { rval = bc.filter_styles }
-		assert_equal true, rval
-		assert_nothing_raised { rval = bc.filter_html }
-		assert_equal nil, rval
-
-		# Test rendering with filters on
-		assert_nothing_raised { rval = bc.to_html }
-		assert_equal DangerousStylesOutput, rval
+		bc.filter_styles.should be_true
+		bc.filter_html.should be_nil
 
-		# Test setting it in a subarray
-		assert_nothing_raised {
-			bc = BlueCloth::new( DangerousHtml, [:filter_styles] )
-		}
-		assert_instance_of BlueCloth, bc
-
-		# Accessors
-		assert_nothing_raised { rval = bc.filter_styles }
-		assert_equal true, rval
-		assert_nothing_raised { rval = bc.filter_html }
-		assert_equal nil, rval
+		bc.to_html.should == DangerousStylesOutput
+	end
 
-		# Test rendering with filters on
-		assert_nothing_raised { rval = bc.to_html }
-		assert_equal DangerousStylesOutput, rval
+  it &quot;should filter styles given an array&quot; do
+    bc = bluecloth DangerousHtml, [:filter_styles]
+		
+		bc.filter_styles.should be_true
+		bc.filter_html.should be_nil
 
+		bc.to_html.should == DangerousStylesOutput
 	end
 
-
-	# Test to be sure filtering when there's no opening angle brackets doesn't
-	# die.
   it &quot;should filter 'no less than'&quot; do
-    pending
-		rval = bc = nil
-
-		# Test as a 1st-level param
-		assert_nothing_raised {
-			bc = BlueCloth::new( NoLessThanHtml, :filter_html )
-		}
-		assert_instance_of BlueCloth, bc
+		bc = bluecloth NoLessThanHtml, :filter_html
+		
+		bc.filter_styles.should be_nil
+		bc.filter_html.should be_true
 
-		assert_nothing_raised { rval = bc.to_html }
-		assert_equal NoLessThanOutput, rval
+		bc.to_html.should == NoLessThanOutput
 	end
 
 end</diff>
      <filename>spec/contrib_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d7ec650d8723131271bad3619b66d64fadbf679d</id>
    </parent>
  </parents>
  <author>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </author>
  <url>http://github.com/mislav/bluecloth/commit/6cb27aacdd8dc7de82ccd34f45eef37ceff3d5f9</url>
  <id>6cb27aacdd8dc7de82ccd34f45eef37ceff3d5f9</id>
  <committed-date>2009-02-19T03:38:28-08:00</committed-date>
  <authored-date>2009-02-19T03:38:28-08:00</authored-date>
  <message>clean up contrib_spec</message>
  <tree>27b76e5eb6b69e0cfcbfcbbfb1f88534d58e2aff</tree>
  <committer>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </committer>
</commit>
