<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -77,17 +77,6 @@ module ThoughtBot # :nodoc:
         assert obj.valid?, &quot;Errors: #{pretty_error_messages obj}&quot;
       end
       
-      # Asserts that the block uses ActionMailer to send emails
-      #
-      #  assert_sends_email(2) { Mailer.deliver_messages }
-      def assert_sends_email(num = 1, &amp;blk)
-        ActionMailer::Base.deliveries.clear
-        blk.call
-        msg = &quot;Sent #{ActionMailer::Base.deliveries.size} emails, when #{num} expected:\n&quot;
-        ActionMailer::Base.deliveries.each { |m| msg &lt;&lt; &quot;  '#{m.subject}' sent to #{m.to.to_sentence}\n&quot; }
-        assert(num == ActionMailer::Base.deliveries.size, msg)
-      end
-
       # Asserts that an email was delivered.  Can take a blog that can further
       # narrow down the types of emails you're expecting. 
       #</diff>
      <filename>lib/shoulda/general.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>395c8445ee1db9bc47cf2d646da7ac87a7dd4d11</id>
    </parent>
  </parents>
  <author>
    <name>Tammer Saleh</name>
    <email>tsaleh@thoughtbot.com</email>
  </author>
  <url>http://github.com/thoughtbot/shoulda/commit/c330c0ad2a4d7e7e0ac570d17e6b5f2bdb65cf62</url>
  <id>c330c0ad2a4d7e7e0ac570d17e6b5f2bdb65cf62</id>
  <committed-date>2008-04-28T10:18:53-07:00</committed-date>
  <authored-date>2008-04-28T10:18:53-07:00</authored-date>
  <message>forgot to remove an old email assertion</message>
  <tree>2a31aaa8eb3018edd42badc1d6631673014cdf3c</tree>
  <committer>
    <name>Tammer Saleh</name>
    <email>tsaleh@thoughtbot.com</email>
  </committer>
</commit>
