Skip to content

Commit 88c5f20

Browse files
honesteveklabnik
authored andcommitted
require time before monkey patching
1 parent 4c2f8b2 commit 88c5f20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ def with_failure_backend(failure_backend, &block)
127127
Resque::Failure.backend = previous_backend
128128
end
129129

130+
require 'time'
131+
130132
class Time
131133
# Thanks, Timecop
132134
class << self

0 commit comments

Comments
 (0)