Skip to content

Commit

Permalink
require time before monkey patching
Browse files Browse the repository at this point in the history
  • Loading branch information
hone authored and steveklabnik committed Oct 1, 2012
1 parent 4c2f8b2 commit 88c5f20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def with_failure_backend(failure_backend, &block)
Resque::Failure.backend = previous_backend
end

require 'time'

class Time
# Thanks, Timecop
class << self
Expand Down

0 comments on commit 88c5f20

Please sign in to comment.