route_cache_spec.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:0k
- require File.dirname(__FILE__) + "/../spec_helper"
- describe RouteCache do
- it "test_cache_clear" do
- RouteCache[:foo] = :bar
- RouteCache.clear
- assert_equal({}, RouteCache.instance_variable_get(:@cache))
- end
- end