<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,8 +12,6 @@ ActiveRecord::Base.default_timezone = :utc
 ActiveRecord::Base.logger = Logger.new STDOUT
 
 ActiveRecord::Base.establish_connection :adapter =&gt; &quot;sqlite3&quot;, :database  =&gt; &quot;test.sqlite3&quot;
-# ActiveRecord::Base.establish_connection(:adapter =&gt; &quot;postgresql&quot;, :database =&gt; &quot;proper_time_zones_test&quot;, :username =&gt; &quot;carl&quot;,
-#                                         :password =&gt; '')
 
 class CreateEvents &lt; ActiveRecord::Migration
   def self.up
@@ -42,22 +40,10 @@ describe &quot;time zones messing up&quot; do
   after do
     Event.destroy_all
   end
-  describe &quot;find by date field&quot; do
-    it &quot;should find an event on today&quot; do
-      # today = Time.zone.parse Date.today.strftime('%Y-%m-%d') # Doesn't return the record at all.
-      today = Date.parse Date.today.strftime('%Y-%m-%d')
-      Event.find_by_scheduled_on(today).should.equal @event
-    end
-  end
   describe &quot;find by the time field&quot; do
     it &quot;should find an event with time on a date with a parsed time&quot; do
-      # today = Time.zone.parse Date.today.strftime('%Y-%m-%d') # Doesn't work.
-      today = Date.parse Date.today.strftime('%Y-%m-%d')
-      Event.find(:first, :conditions =&gt; [&quot;date(scheduled_at) = date(?)&quot;, today]).should.equal @event
-    end
-    it &quot;should find an event with time on a date with today&quot; do
-      today = Date.today
-      Event.find(:first, :conditions =&gt; [&quot;date(scheduled_at) = date(?)&quot;, today]).should.equal @event
+      today = DateTime.parse Date.today.strftime('%Y-%m-%d')
+      Event.find(:first, :conditions =&gt; [&quot;date(scheduled_at) = date(?)&quot;, today.utc.to_date]).should.equal @event
     end
   end
 end
\ No newline at end of file</diff>
      <filename>test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>97aeeef3b8ada21e74569ed9bd1201826872d615</id>
    </parent>
  </parents>
  <author>
    <name>Carl Woodward</name>
    <email>carl@carl.local</email>
  </author>
  <url>http://github.com/cjwoodward/proper_time_zones/commit/fa05c10aac7452f456a152b8d1672adc57531341</url>
  <id>fa05c10aac7452f456a152b8d1672adc57531341</id>
  <committed-date>2009-10-06T04:19:09-07:00</committed-date>
  <authored-date>2009-10-06T04:19:09-07:00</authored-date>
  <message>Removed other tests to make it easier for people to see for roro</message>
  <tree>56c77e4614601657dcf5576a47ed7212e519cafe</tree>
  <committer>
    <name>Carl Woodward</name>
    <email>carl@carl.local</email>
  </committer>
</commit>
