cleaner label spec

This commit is contained in:
2010-08-12 10:30:35 +03:00
parent 3a46a2ae2e
commit cf9ac8cd30

View File

@@ -1,6 +1,7 @@
require "spec_helper"
describe Redistat::Label do
include Redistat::Database
before(:each) do
db.flushdb
@@ -24,8 +25,4 @@ describe Redistat::Label do
db.get("#{Redistat::KEY_LEBELS}#{@label.hash}").should == @name
end
def db
Redistat.redis
end
end