<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -230,44 +230,6 @@ class CachingTest &lt; ActionController::IntegrationTest
 
     end
 
-    context &quot;when privacy options and archive by type are enabled, and the basket has one public and one private item, it&quot; do
-
-      setup do
-        [@@site_basket, @@cache_basket].each do |basket|
-          basket.update_attributes({ :show_privacy_controls =&gt; true, :index_page_archives_as =&gt; 'by type' })
-          @topic1 = new_topic({ :title =&gt; 'Public Item' }, basket)
-          @topic2 = new_topic({ :title =&gt; 'Private Item', :private_true =&gt; true }, basket)
-        end
-      end
-
-      teardown do
-        [@@site_basket, @@cache_basket].each do |basket|
-          basket.update_attributes({ :show_privacy_controls =&gt; false, :index_page_archives_as =&gt; '' })
-        end
-      end
-
-      should &quot;show the private links to users with permission&quot; do
-        [@@site_basket, @@cache_basket].each do |basket|
-          visit &quot;/#{basket.urlified_name}&quot;
-          body_should_contain Regexp.new(&quot;\\( &lt;a (.+)&gt;(\\d+)&lt;/a&gt; \\| private: &lt;a (.+)&gt;(\\d+)&lt;/a&gt; \\)&quot;),
-                              :message =&gt; &quot;Both public and private links should be visible on the #{basket.name} basket, but arn't.&quot;
-        end
-      end
-
-      should &quot;not show the private links if the user doesn't have permission&quot; do
-        [@@site_basket, @@cache_basket].each do |basket|
-          visit &quot;/#{basket.urlified_name}&quot; # as admin to populate private cache
-          logout
-          visit &quot;/#{basket.urlified_name}&quot;
-          body_should_not_contain Regexp.new(&quot;\\( &lt;a (.+)&gt;(\\d+)&lt;/a&gt; \\| private: &lt;a (.+)&gt;(\\d+)&lt;/a&gt; \\)&quot;),
-                                  :message =&gt; &quot;Public and private links together should not be visible on the #{basket.name} basket, but they are.&quot;
-          body_should_contain Regexp.new(&quot;\\( &lt;a (.+)&gt;(\\d+)&lt;/a&gt; \\)&quot;),
-                              :message =&gt; &quot;The public link should be visible on the #{basket.name} basket, but isn't.&quot;
-        end
-      end
-
-    end
-
   end
 
   context &quot;The topic show cache&quot; do</diff>
      <filename>test/integration/caching_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5df85d875932723ada99bb61eba12f21ab17eeb1</id>
    </parent>
  </parents>
  <author>
    <name>Kieran Pilkington</name>
    <email>kieran@katipo.co.nz</email>
  </author>
  <url>http://github.com/kete/kete/commit/775053345c43058c9fa80b537e0ec3fd130b9fda</url>
  <id>775053345c43058c9fa80b537e0ec3fd130b9fda</id>
  <committed-date>2009-01-22T15:48:31-08:00</committed-date>
  <authored-date>2009-01-22T15:48:31-08:00</authored-date>
  <message>refinement: the archive by type box is no longer cached which allows for accurate item counts.</message>
  <tree>a570961e58d3a3df612a4eb7677cd7de0f1615b7</tree>
  <committer>
    <name>Kieran Pilkington</name>
    <email>kieran@katipo.co.nz</email>
  </committer>
</commit>
