initial work to being able to use per-model redis

configurations
This commit is contained in:
2010-11-28 10:10:58 +00:00
parent 5338676a5f
commit dc162e0c89
7 changed files with 164 additions and 82 deletions

10
spec/database_spec.rb Normal file
View File

@@ -0,0 +1,10 @@
require "spec_helper"
describe Redistat::Database do
include Redistat::Database
it "should make #db method available when included" do
db.should == Redistat.redis
end
end