<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/fixtures/users.yml</filename>
    </added>
    <added>
      <filename>test/integration/comment_enabling_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,11 +1,24 @@
+require 'test/unit'
+# Load the environment
 unless defined? RADIANT_ROOT
   ENV[&quot;RAILS_ENV&quot;] = &quot;test&quot;
-  require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../&quot;)}/config/boot&quot;
+  case
+  when ENV[&quot;RADIANT_ENV_FILE&quot;]
+    require ENV[&quot;RADIANT_ENV_FILE&quot;]
+  when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
+    require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../../../&quot;)}/config/environment&quot;
+  else
+    require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../&quot;)}/config/environment&quot;
+  end
 end
 require &quot;#{RADIANT_ROOT}/test/test_helper&quot;
 
 class Test::Unit::TestCase
-  test_helper :extension_fixtures, :extension_tags
-  
-  self.fixture_path &lt;&lt; File.dirname(__FILE__) + &quot;/fixtures&quot;
+  self.use_transactional_fixtures = true
+  self.use_instantiated_fixtures = false
+  self.fixture_path &lt;&lt; File.expand_path(File.dirname(__FILE__)) + '/fixtures'
+end
+
+class ActionController::IntegrationTest &lt; Test::Unit::TestCase
+  self.fixture_path = File.expand_path(File.dirname(__FILE__)) + '/fixtures'
 end
\ No newline at end of file</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,30 +2,6 @@ require 'test/unit'
 require File.dirname(__FILE__) + '/../test_helper'
 
 class CommentTest &lt; Test::Unit::TestCase
-  # Replace this with your real tests.
-  
-  def setup
-    @controller = Admin::CommentsController.new
-    @request = ActionController::TestRequest.new 
-    @response = ActionController::TestResponse.new
-  end
-  
-  def test_new_record_should_handle_http
-    comment = Comment.new
-    assert_equal &quot;http://&quot;, comment.author_url
-  end
-  
-  def test_should_remove_http_if_blank
-    
-  end
-  
-  def test_snippets_created
-    #assert_not_nil Snippet.find_by_name(&quot;comments&quot;)
-    #assert_not_nil Snippet.find_by_name(&quot;comment&quot;)
-    #assert_not_nil Snippet.find_by_name(&quot;comment_form&quot;)
-  end
-  
-  
   def test_valid_comment
     comment = Comment.new do |c| 
       c.author = &quot;Foo Bar&quot;
@@ -47,27 +23,4 @@ class CommentTest &lt; Test::Unit::TestCase
     assert_equal(comment.content, comment_stored.content)
   end
   
-  def test_enable_comments
-    
-    page = Page.new do |p|
-      p.title = &quot;FOO&quot;
-      p.slug = &quot;foo&quot;
-      p.breadcrumb = &quot;FOO&quot;
-      p.class_name = &quot;Page&quot;
-    end
-    
-    page.save
-    
-    assert !page.enable_comments
-    
-    post :enable, :page_id =&gt; page.id
-    
-    assert_response :success
-    
-    page = Page.find_by_title(&quot;FOO&quot;)
-    
-    assert page.enable_comments
-    
-  end
-  
 end</diff>
      <filename>test/unit/comment_test.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>test/fixtures/comments.yml</filename>
    </removed>
    <removed>
      <filename>test/functional/custom_tags_extension_test.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>c89a61b05225dd90294ee31a8f3f145ea1822533</id>
    </parent>
  </parents>
  <author>
    <name>Nathaniel Talbott</name>
    <email>nathaniel@terralien.com</email>
  </author>
  <url>http://github.com/artofmission/radiant-comments/commit/5b429d3803c72e764133bf37d07f6157de09a216</url>
  <id>5b429d3803c72e764133bf37d07f6157de09a216</id>
  <committed-date>2008-05-23T08:41:27-07:00</committed-date>
  <authored-date>2008-05-23T08:41:27-07:00</authored-date>
  <message>Got the tests passing.</message>
  <tree>f063c34e0a9c96965c846ef76cdc20b4d83aaa44</tree>
  <committer>
    <name>Nathaniel Talbott</name>
    <email>nathaniel@terralien.com</email>
  </committer>
</commit>
