aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-12-09 19:08:59 +1100
committerHenare Degan <henare.degan@gmail.com>2012-12-11 11:09:38 +1100
commit64a93911ebae4eaa2a1bc2b9e09d1468d77aadb9 (patch)
treec4515ab64e30bb45c34aff04bf34066ab0c6c5bf /spec
parent0d533ce1d56e1ec1446774cc6fff52451a844f3f (diff)
Remove interlock as it's not compatible with Rails 3 and is unmaintained
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/request_controller_spec.rb13
-rw-r--r--spec/views/request/list.rhtml_spec.rb2
2 files changed, 0 insertions, 15 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index f40eecfff..e930e570b 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'
diff --git a/spec/views/request/list.rhtml_spec.rb b/spec/views/request/list.rhtml_spec.rb
index 94ece5e76..137bc359d 100644
--- a/spec/views/request/list.rhtml_spec.rb
+++ b/spec/views/request/list.rhtml_spec.rb
@@ -7,8 +7,6 @@ describe "when listing recent requests" do
assigns[:per_page] = 10
# work round a bug in ActionController::TestRequest; allows request.query_string to work in the template
request.env["REQUEST_URI"] = ""
- # we're not testing the interlock plugin's cache
- template.stub!(:view_cache).and_yield
end
def make_mock_event