spec/bastet_spec.rb in bastet-0.0.2 vs spec/bastet_spec.rb in bastet-0.1.0
- old
+ new
@@ -1,13 +1,15 @@
require 'spec_helper'
describe Bastet do
- before do
- @redis = Redis.new
- end
-
describe "::setup" do
it "should return a new Bastet::Base object" do
- Bastet.setup(@redis).should be_a(Bastet::Base)
+ Bastet.setup(@redis).should == Bastet::Base.instance
+ end
+ end
+
+ describe "::groups" do
+ it "should have no groups" do
+ Bastet.groups.should be_empty
end
end
end