diff --git a/spec/label_spec.rb b/spec/label_spec.rb index 27695c7..32c7681 100644 --- a/spec/label_spec.rb +++ b/spec/label_spec.rb @@ -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 \ No newline at end of file