<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -122,6 +122,11 @@ A model's soft delete capabilities can be easily unit tested by using this provi
       assert_model_soft_deletes( items(:radar_detector) )
     end
 
+Note : You may need to put the following in your test_helper.rb file if you see an error like 'NoMethodError: undefined method 'assert_model_soft_deletes'' when running your unit tests:
+
+    require 'test/unit'
+    include Test::Unit::ActsAsDeleted
+
 This was developed with Test::Unit in mind. Not sure how well it works with rspec.
 
 === Thanks</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,3 @@
-require 'test/unit'
-
 module Test #:nodoc:
   module Unit #:nodoc:
     # This module is included into Test::Unit::TestCase and in that way is available in your test cases.</diff>
      <filename>lib/unit_test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dbea7e368ee9b493a788aa3c6d71b30977a470a7</id>
    </parent>
  </parents>
  <author>
    <name>Glenn Rempe</name>
    <email>glenn@rempe.us</email>
  </author>
  <url>http://github.com/ajh/acts_as_soft_deletable/commit/925c11de2e981bdc8d961be242fd216952c5a412</url>
  <id>925c11de2e981bdc8d961be242fd216952c5a412</id>
  <committed-date>2009-04-28T09:14:06-07:00</committed-date>
  <authored-date>2009-04-27T20:29:31-07:00</authored-date>
  <message>This reverts an earlier commit which had unintended side-effects and provides a cleaner alternative.

With test/unit being required rails apps trying to run ./script/runner would also
attempt to erroneously run the test suite, and could result in failure of cron jobs
that used the script/runner and specified an environment to run in.

It is better instead to:

  include Test::Unit::ActsAsDeleted

in your test helper.

This reverts my earlier commit : 69910d8b8b81e4177db54f086f85bff9be95dd2d

Signed-off-by: Andy Hartford &lt;hartforda@gmail.com&gt;</message>
  <tree>cacc6aa9b2afcf6c8b81627280ba49765c25167e</tree>
  <committer>
    <name>Andy Hartford</name>
    <email>hartforda@gmail.com</email>
  </committer>
</commit>
