<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,31 +2,35 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
 
 describe &quot;VocabCounter&quot; do
 
+  before :each do
+    @v = VocabCounter.new
+  end
+
   it &quot;should count the number of terms in a string&quot; do
-    out = VocabCounter.count(&quot;The cat sat on the mat&quot;)
-    out.should include(&quot;the,2&quot;)
-    out.should include(&quot;cat,1&quot;)
+    @v.count(&quot;The cat sat on the mat&quot;)
+    @v.report.should include(&quot;the,2&quot;)
+    @v.report.should include(&quot;cat,1&quot;)
   end
 
   it &quot;should ignore case when counting terms&quot; do
-    out = VocabCounter.count(&quot;The the THE tHe CAT sat on the mat&quot;)
-    out.should include(&quot;the,5&quot;)
-    out.should include(&quot;cat,1&quot;)
+    @v.count(&quot;The the THE tHe CAT sat on the mat&quot;)
+    @v.report.should include(&quot;the,5&quot;)
+    @v.report.should include(&quot;cat,1&quot;)
   end
 
   it &quot;should ignore an non ['a-z0-9] characters when counting terms&quot; do
-    out = VocabCounter.count(&quot;The %cat$ sat-on, the mat. Brian's cat. The cat?s sat on, the mat! &quot;)
-    out.should include(&quot;the,4&quot;)
-    out.should include(&quot;cat,3&quot;)
-    out.should include(&quot;brian's,1&quot;)
+    @v.count(&quot;The %cat$ sat-on, the mat. Brian's cat. The cat?s sat on, the mat! &quot;)
+    @v.report.should include(&quot;the,4&quot;)
+    @v.report.should include(&quot;cat,3&quot;)
+    @v.report.should include(&quot;brian's,1&quot;)
   end
 
   it &quot;should only include apostrophes which appear within a word&quot; do
-    out = VocabCounter.count(&quot;Brian's Brian Brian' Brian's cat's cats cat' cats'&quot;)
-    out.should include(&quot;brian's,2&quot;)
-    out.should include(&quot;brian,2&quot;)
-    out.should include(&quot;cat,1&quot;)
-    out.should include(&quot;cats,1&quot;)
+    @v.count(&quot;Brian's Brian Brian' Brian's cat's cats cat' cats'&quot;)
+    @v.report.should include(&quot;brian's,2&quot;)
+    @v.report.should include(&quot;brian,2&quot;)
+    @v.report.should include(&quot;cat,1&quot;)
+    @v.report.should include(&quot;cats,1&quot;)
   end
 
 end</diff>
      <filename>spec/vocab_counter_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c1e54873489a9fb00ea09581ee7e431dc40f0f30</id>
    </parent>
  </parents>
  <author>
    <name>Julian Burgess</name>
    <email>aubergene@gmail.com</email>
  </author>
  <url>http://github.com/aubergene/vocab_counter/commit/e52357af753320463b954ce5b08deb0eee2fbc4d</url>
  <id>e52357af753320463b954ce5b08deb0eee2fbc4d</id>
  <committed-date>2009-11-07T14:50:33-08:00</committed-date>
  <authored-date>2009-11-07T14:50:33-08:00</authored-date>
  <message>Whoops, forgot to update specs</message>
  <tree>b82398a1f339a9345c7245d416fa08f68e16804a</tree>
  <committer>
    <name>Julian Burgess</name>
    <email>aubergene@gmail.com</email>
  </committer>
</commit>
