<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/rails_root/config/initializers/shoulda.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,2 @@
 test/rails_root/log/*.log
-test/rails_root/vendor/plugins/shoulda
 doc</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,7 @@ The test directory contains the following files and subdirectories:
 ** the models, controllers, and views defined under app/
 ** the sqlite3.rb environment file
 ** a migration file for each model
+** a shoulda initializer that simulates loading the plugin but without relying on vendor/plugins
 * fixtures - contain the sample DB data for each model
 * functional - controller tests for each of the controllers under rails_root/app
 * unit - model tests for each of the models under rails_root/app
@@ -15,7 +16,6 @@ The test directory contains the following files and subdirectories:
 * test_helper.rb - responsible for initializing the test environment
 ** sets the rails_env to sqlite3
 ** sets the rails_root
-** creates the rails_root/vendor/plugins/shoulda symlink
 ** runs all the migrations against the in-memory sqlite3 db
 ** adds some magic to load the right fixture files
 </diff>
      <filename>test/README</filename>
    </modified>
    <modified>
      <diff>@@ -6,13 +6,9 @@ $VERBOSE = old_verbose
 require File.join(File.dirname(__FILE__), 'boot')
 
 Rails::Initializer.run do |config|
-  # Someday, I'm going to find a way of getting rid of that symlink...
-  # config.plugin_paths = ['../../../']
-  # config.plugins = [:shoulda]
   config.log_level = :debug
   config.cache_classes = false
   config.whiny_nils = true
-  # config.load_paths &lt;&lt; File.join(File.dirname(__FILE__), *%w{.. .. .. lib})
 end
  
 # Dependencies.log_activity = true</diff>
      <filename>test/rails_root/config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,8 @@ require 'fileutils'
 # Load the environment
 ENV['RAILS_ENV'] = 'sqlite3'
 
-# ln rails_root/vendor/plugins/shoulda =&gt; ../../../../
 rails_root = File.dirname(__FILE__) + '/rails_root'
 
-FileUtils.ln_s('../../../../', &quot;#{rails_root}/vendor/plugins/shoulda&quot;) unless File.exists?(&quot;#{rails_root}/vendor/plugins/shoulda&quot;)
-
 require &quot;#{rails_root}/config/environment.rb&quot;
  
 # Load the testing framework
@@ -19,7 +16,6 @@ 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;)
-# $LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)
 
 class Test::Unit::TestCase #:nodoc:
   def create_fixtures(*table_names)</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9f8c29edf3e632cdbc9756f6c5792bdc8cc9494c</id>
    </parent>
  </parents>
  <author>
    <name>Ryan McGeary</name>
    <email>ryanongit@mcgeary.org</email>
  </author>
  <url>http://github.com/rmm5t/shoulda/commit/512010ed62e992a6001c0da668e5a5b05362af26</url>
  <id>512010ed62e992a6001c0da668e5a5b05362af26</id>
  <committed-date>2008-07-03T07:32:43-07:00</committed-date>
  <authored-date>2008-07-03T07:19:28-07:00</authored-date>
  <message>Rid the symlink behavior under test/rails_root/vendor/plugins</message>
  <tree>8495bae9419d2098e74febc61b001744783a571a</tree>
  <committer>
    <name>Ryan McGeary</name>
    <email>ryanongit@mcgeary.org</email>
  </committer>
</commit>
