spec/redis-tools_spec.rb in blendris-0.0.2 vs spec/redis-tools_spec.rb in blendris-0.0.3
- old
+ new
@@ -3,10 +3,10 @@
describe "redis connection accessor" do
it "should connect for reading and writing" do
extend RedisAccessor
- testkey = prefix + "test-string"
+ testkey = "test-string"
redis.get(testkey).should == nil
redis.set(testkey, "foo").should == true
redis.get(testkey).should == "foo"
redis.del(testkey).should == true