Skip to content

Commit b500211

Browse files
committed
The 'time' library must be explicitly required for 'to_datetime'
to_datetime is currently being used in subscription_helpers.rb and the specs. Because it isn't required, the specs fail for me. I'm guessing a gem included it as a side-effect previously, but that's no longer the case.
1 parent c7508b1 commit b500211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/stripe_mock.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'ostruct'
22
require 'multi_json'
33
require 'dante'
4+
require 'time'
45

56
require 'stripe'
67

0 commit comments

Comments
 (0)