spec/highrise/cachable_spec.rb in kmayer-highrise-0.8.1 vs spec/highrise/cachable_spec.rb in kmayer-highrise-0.9.0
- old
+ new
@@ -10,11 +10,16 @@
@connection.cache_store = :memory_store
@connection.is_caching?.should == true
end
it "should tell us if caching is not active" do
- @connection.cache_store = nil
+ @connection.cache_store = :none
@connection.is_caching?.should == false
+ end
+
+ it "should use the Rails stack default cache" do
+ @connection.cache_store = :rails
+ @connection.is_caching?.should == true
end
end
describe Highrise::Base do
before(:all) do
\ No newline at end of file