<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Rakefile</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1,2 @@
-*.log
\ No newline at end of file
+*.log
+test.sqlite3
\ No newline at end of file</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -55,11 +55,17 @@ Post Installation (Rails)
 Testing
 =======
 
-Acts As Taggable On uses RSpec for its test coverage. If you already have RSpec on your
-application, the specs will run while using:
+Acts As Taggable On uses RSpec for its test coverage. Inside the plugin
+directory, you can run the specs with:
+
+rake spec
+
+
+If you already have RSpec on your application, the specs will run while using:
 
 rake spec:plugins
 
+
 Example
 =======
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -7,9 +7,11 @@ describe Tag do
   end
   
   it &quot;should require a name&quot; do
-    @tag.should have(1).errors_on(:name)
+    @tag.valid?
+    @tag.errors.on(:name).should == &quot;can't be blank&quot;
     @tag.name = &quot;something&quot;
-    @tag.should have(0).errors_on(:name)    
+    @tag.valid?
+    @tag.errors.on(:name).should be_nil
   end
   
   it &quot;should equal a tag with the same name&quot; do</diff>
      <filename>spec/acts_as_taggable_on/tag_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,27 @@
-require File.dirname(__FILE__) + '/../../../../spec/spec_helper'
+# require File.dirname(__FILE__) + '/../../../../spec/spec_helper'
+require 'rubygems'
+require 'active_support'
+require 'active_record'
+require 'spec'
 
 module Spec::Example::ExampleGroupMethods
   alias :context :describe
 end
 
-plugin_spec_dir = File.dirname(__FILE__)
-ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + &quot;/debug.log&quot;)
+TEST_DATABASE_FILE = File.join(File.dirname(__FILE__), '..', 'test.sqlite3')
+
+File.unlink(TEST_DATABASE_FILE) if File.exist?(TEST_DATABASE_FILE)
+ActiveRecord::Base.establish_connection(
+  &quot;adapter&quot; =&gt; &quot;sqlite3&quot;, &quot;database&quot; =&gt; TEST_DATABASE_FILE
+)
+
+RAILS_DEFAULT_LOGGER = Logger.new(File.join(File.dirname(__FILE__), &quot;debug.log&quot;))
 
 load(File.dirname(__FILE__) + '/schema.rb')
 
+$: &lt;&lt; File.join(File.dirname(__FILE__), '..', 'lib')
+require File.join(File.dirname(__FILE__), '..', 'init')
+
 class TaggableModel &lt; ActiveRecord::Base
   acts_as_taggable_on :tags, :languages
   acts_as_taggable_on :skills</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>08b9d7d4c9ad9e46a5d1edb687d42f89739b70e8</id>
    </parent>
  </parents>
  <author>
    <name>Elijah Miller</name>
    <email>elijah.miller@gmail.com</email>
  </author>
  <url>http://github.com/mbleigh/acts-as-taggable-on/commit/a9ebf3c94608f32c7a500db931d3fcd0665ab2ad</url>
  <id>a9ebf3c94608f32c7a500db931d3fcd0665ab2ad</id>
  <committed-date>2009-03-26T12:14:17-07:00</committed-date>
  <authored-date>2009-03-26T09:32:13-07:00</authored-date>
  <message>Allowing specs to run outside of a Rails project, had to change one use of a rspec-rails matcher as rspec-rails requires much more of Rails to be present before it can load properly.

Signed-off-by: Michael Bleigh &lt;michael@intridea.com&gt;</message>
  <tree>a619605111a91e3d8de0cdec056622c9696bf278</tree>
  <committer>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </committer>
</commit>
