diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-01-17 18:11:08 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-01-17 18:11:08 +0000 |
commit | b1287f9a5c217b6057b7ac174caa412f2817f8a8 (patch) | |
tree | 0798af9c643925846eaea487456a2fd0781b2047 /spec/controllers/request_controller_spec.rb | |
parent | cc91fa28cd0e64576a5f2d8e5c2cb3629636ee74 (diff) | |
parent | a92d95908bdc8b1f2a5111a6d36b6de210ab5c55 (diff) |
Merge remote-tracking branch 'openaustralia_github/interlock' into develop
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 148e4327d..430259426 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -59,19 +59,6 @@ describe RequestController, "when listing recent requests" do :conditions => "id in (select info_request_id from info_request_events where created_at between '2007-10-13'::date and '2007-11-01'::date)") end - it "should make a sane-sized cache tag" do - get :list, :view => 'all', :request_date_after => '13/10/2007', :request_date_before => '01/11/2007' - assigns[:cache_tag].size.should <= 32 - end - - it "should vary the cache tag with locale" do - get :list, :view => 'all', :request_date_after => '13/10/2007', :request_date_before => '01/11/2007' - en_tag = assigns[:cache_tag] - session[:locale] = :es - get :list, :view => 'all', :request_date_after => '13/10/2007', :request_date_before => '01/11/2007' - assigns[:cache_tag].should_not == en_tag - end - it "should list internal_review requests as unresolved ones" do get :list, :view => 'awaiting' |