<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,6 +11,7 @@ require 'spec'
 ActiveRecord::Base.logger = Logger.new('/tmp/dj.log')
 ActiveRecord::Base.establish_connection(:adapter =&gt; 'sqlite3', :database =&gt; '/tmp/jobs.sqlite')
 ActiveRecord::Migration.verbose = false
+ActiveRecord::Base.default_timezone = :utc if Time.zone.nil?
 
 ActiveRecord::Schema.define do
 </diff>
      <filename>spec/database.rb</filename>
    </modified>
    <modified>
      <diff>@@ -54,7 +54,7 @@ describe Delayed::Job do
   end
 
   it &quot;should be able to set run_at when enqueuing items&quot; do
-    later = 5.minutes.from_now
+    later = (Delayed::Job.db_time_now+5.minutes)
     Delayed::Job.enqueue SimpleJob.new, 5, later
 
     # use be close rather than equal to because millisecond values cn be lost in DB round trip
@@ -172,7 +172,7 @@ describe Delayed::Job do
   end
 
   it &quot;should never find failed jobs&quot; do
-    @job = Delayed::Job.create :payload_object =&gt; SimpleJob.new, :attempts =&gt; 50, :failed_at =&gt; Time.now
+    @job = Delayed::Job.create :payload_object =&gt; SimpleJob.new, :attempts =&gt; 50, :failed_at =&gt; Delayed::Job.db_time_now
     Delayed::Job.find_available(1).length.should == 0
   end
 </diff>
      <filename>spec/job_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2917b5fe41b1213807678b1c4795fd907eeddc3c</id>
    </parent>
    <parent>
      <id>d5cf56fc85f9138d4da67d32128fe672d1289910</id>
    </parent>
  </parents>
  <author>
    <name>Tobias L&#252;tke</name>
    <email>tobi@jadedpixel.com</email>
  </author>
  <url>http://github.com/tobi/delayed_job/commit/8df6837c08f45b45a74bf4f529ae7bfd90dd8941</url>
  <id>8df6837c08f45b45a74bf4f529ae7bfd90dd8941</id>
  <committed-date>2009-10-13T10:12:45-07:00</committed-date>
  <authored-date>2009-10-13T10:12:45-07:00</authored-date>
  <message>Merge branch 'master' of git://github.com/timmatheson/delayed_job into timmatheson/master</message>
  <tree>723898d157989ac7937788abca2178aec83c171b</tree>
  <committer>
    <name>Tobias L&#252;tke</name>
    <email>tobi@jadedpixel.com</email>
  </committer>
</commit>
