<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -70,4 +70,10 @@ class TestCase &lt; Test::Unit::TestCase
     assert_diff @bob, {:name =&gt; 'joe'}, {:name =&gt; ['bob', 'joe']}
   end
 
+  def test_inclusion_and_exclusion
+    Person.diff :include =&gt; [:id], :exclude =&gt; [:email_address]
+
+    assert_diff @alice, @bob, {:id =&gt; [1, 2], :name =&gt; %w( alice bob )}
+  end
+
 end</diff>
      <filename>test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>65529a4fb97a2d5daabd87c22d37bc1b1dcaf4db</id>
    </parent>
  </parents>
  <author>
    <name>Tim Fletcher</name>
    <email>tim@tfletcher.com</email>
  </author>
  <url>http://github.com/tim/activerecord-diff/commit/ea839b22879af67bc46fda8f7681c1097958217c</url>
  <id>ea839b22879af67bc46fda8f7681c1097958217c</id>
  <committed-date>2009-04-16T07:28:19-07:00</committed-date>
  <authored-date>2009-04-16T07:28:19-07:00</authored-date>
  <message>Add test for attribute inclusion and exclusion.</message>
  <tree>286754022742aaae6aeeab5dfb5af050f765e085</tree>
  <committer>
    <name>Tim Fletcher</name>
    <email>tim@tfletcher.com</email>
  </committer>
</commit>
