spec/spec_helper.rb in cachedis-0.0.2 vs spec/spec_helper.rb in cachedis-0.0.3
- old
+ new
@@ -9,8 +9,8 @@
@cachedis.redis.should_receive(:set).exactly(1).times.and_return(cache)
end
def with_cache(cache)
@cachedis.redis.should_receive(:exists).exactly(1).times.and_return(true)
- @cachedis.redis.should_receive(:get).exactly(1).times.and_return(cache.to_yaml)
+ @cachedis.redis.should_receive(:get).exactly(1).times.and_return(cache)
end
end