spec/spec_helper.rb in redis-objects-1.3.0 vs spec/spec_helper.rb in redis-objects-1.3.1
- old
+ new
@@ -7,9 +7,12 @@
Bacon.summary_at_exit
if $0 =~ /\brspec$/
raise "\n===\nThese tests are in bacon, not rspec. Try: bacon #{ARGV * ' '}\n===\n"
end
+require "active_support/testing/time_helpers"
+include ActiveSupport::Testing::TimeHelpers
+
REDIS_CLASS_NAMES = [:Counter, :HashKey, :List, :Lock, :Set, :SortedSet, :Value]
UNIONSTORE_KEY = 'test:unionstore'
INTERSTORE_KEY = 'test:interstore'
DIFFSTORE_KEY = 'test:diffstore'