test/ohm.rb in scrivener-contrib-0.0.1 vs test/ohm.rb in scrivener-contrib-1.0.0
- old
+ new
@@ -1,8 +1,9 @@
require "ohm"
require_relative "helper"
-Ohm.redis = Redic.new("redis://localhost:6379/30")
+Ohm.redis = Redic.new("redis://localhost:6379")
+Ohm.redis.call("SELECT", "30")
class User < Ohm::Model
attribute :email
unique :email
end