<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/fail_macros.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,15 +5,15 @@ ENV['RAILS_ENV'] = 'sqlite3'
 rails_root = File.dirname(__FILE__) + '/rails_root'
 
 require &quot;#{rails_root}/config/environment.rb&quot;
- 
+
 # Load the testing framework
 require 'test_help'
 silence_warnings { RAILS_ENV = ENV['RAILS_ENV'] }
- 
+
 # Run the migrations
 ActiveRecord::Migration.verbose = false
 ActiveRecord::Migrator.migrate(&quot;#{RAILS_ROOT}/db/migrate&quot;)
- 
+
 # Setup the fixtures path
 Test::Unit::TestCase.fixture_path = File.join(File.dirname(__FILE__), &quot;fixtures&quot;)
 
@@ -25,7 +25,9 @@ class Test::Unit::TestCase #:nodoc:
       Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, table_names)
     end
   end
- 
+
   self.use_transactional_fixtures = false
   self.use_instantiated_fixtures  = false
 end
+
+require 'test/fail_macros'</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,4 +44,8 @@ class UserTest &lt; Test::Unit::TestCase
   should_only_allow_numeric_values_for :ssn
 
   should_have_readonly_attributes :name
+
+  should_fail do
+    should_protect_attributes :name, :age
+  end
 end</diff>
      <filename>test/unit/user_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9065d991580e77239bf78159153b51380b1b3433</id>
    </parent>
  </parents>
  <author>
    <name>Ryan McGeary</name>
    <email>ryanongit@mcgeary.org</email>
  </author>
  <url>http://github.com/rmm5t/shoulda/commit/f4984945f118f34a27dfc1fddd912be7466448f2</url>
  <id>f4984945f118f34a27dfc1fddd912be7466448f2</id>
  <committed-date>2008-09-03T17:37:28-07:00</committed-date>
  <authored-date>2008-09-03T17:37:28-07:00</authored-date>
  <message>Added a `should_fail` macro to help test failure scenarios in the core shoulda tests</message>
  <tree>04ded924252e39ca48b3821518112b69d9c7cb32</tree>
  <committer>
    <name>Ryan McGeary</name>
    <email>ryanongit@mcgeary.org</email>
  </committer>
</commit>
