Index: test/integration/api_test/issues_test.rb
===================================================================
--- test/integration/api_test/issues_test.rb	(revision 5092)
+++ test/integration/api_test/issues_test.rb	(working copy)
@@ -100,6 +100,21 @@
           }
       end
     end
+
+    context "no issues" do
+      should "empty issue array" do
+        get '/issues.xml?cf_1=7'
+
+        assert_tag :tag => 'issues',
+          :attributes => {
+            :type => 'array',
+            :__content__ => '',
+            :total_count => 0,
+            :limit => 25,
+            :offset => 0
+          }
+      end
+    end
   end
 
   context "/index.json" do
