<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,7 +12,7 @@ module Thoughtbot
   
     def add_initialize_mile_marker()
       init_code = initialize_mile_marker()
-      return if init_code.blank?
+      return if init_code.nil? || init_code.empty?
       response.body.gsub! /&lt;\/(head)&gt;/i, init_code + '&lt;/\1&gt;' if response.body.respond_to?(:gsub!)
     end
   end
@@ -21,7 +21,9 @@ module Thoughtbot
     # The environments in which to enable the Mile Marker functionality to run.  Defaults
     # to 'development' only.
     @@environments = ['development']
-    cattr_accessor :environments
+    class &lt;&lt; self 
+      attr_accessor :environments
+    end
     
     def self.options
       @options ||= {</diff>
      <filename>lib/mile_marker.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ $:.unshift(File.dirname(__FILE__) + '/../lib')
 ENV['RAILS_ENV'] = 'test'
 
 require 'test/unit'
-require File.expand_path(File.join(File.dirname(__FILE__), '../../../../config/environment.rb'))
+require File.join(File.dirname(File.dirname(__FILE__)), &quot;lib&quot;, &quot;mile_marker&quot;)
 require 'ostruct'
 
 module MockResponse
@@ -12,4 +12,4 @@ module MockResponse
   end
 end
 Test::Unit::TestCase.send :include, MockResponse
-Thoughtbot::MileMarkerHelper.send :include, MockResponse
\ No newline at end of file
+Thoughtbot::MileMarkerHelper.send :include, MockResponse</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e6361619d885d0529f99383b027bb854cb6acfb5</id>
    </parent>
  </parents>
  <author>
    <name>Jon Yurek</name>
    <email>jyurek@thoughtbot.com</email>
  </author>
  <url>http://github.com/thoughtbot/mile_marker/commit/139706251560547677eb99b5ae85ef2f4d0643ca</url>
  <id>139706251560547677eb99b5ae85ef2f4d0643ca</id>
  <committed-date>2008-12-30T14:00:27-08:00</committed-date>
  <authored-date>2008-12-30T14:00:27-08:00</authored-date>
  <message>Cleaned up tests so they run without an app</message>
  <tree>a58892095b4eee31620c19a85680499f9c22aff3</tree>
  <committer>
    <name>Jon Yurek</name>
    <email>jyurek@thoughtbot.com</email>
  </committer>
</commit>
