[grilo/mocking: 19/27] docs: Improve description of "ignored-parameters" mocks setting



commit 2848bf4b5718d6b84d7e3d46d8063c29af3eb1c4
Author: Mathias Hasselmann <mathias openismus com>
Date:   Fri Oct 19 00:05:10 2012 +0200

    docs: Improve description of "ignored-parameters" mocks setting

 doc/grilo/plugins-testing.xml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/doc/grilo/plugins-testing.xml b/doc/grilo/plugins-testing.xml
index ce5f378..7bea521 100644
--- a/doc/grilo/plugins-testing.xml
+++ b/doc/grilo/plugins-testing.xml
@@ -160,10 +160,13 @@ timeout = 500
           <listitem>
             <varname>ignored-parameters</varname> is a comma separated list of
             query parameter names that can be used to map URLs to sections
-            without paying attention to query parameters listed here. So for
-            instance <code>http://www.example.com?q=test+query&amp;api_key=fake</code>
-            will also match <code>http://www.example.com</code>. Set this field
-            to "*" to ignore all query parameters.
+            without paying attention to query parameters listed here.
+            By setting a value of "api_key" a request for
+            <code>http://www.example.com?q=test+query&amp;api_key=dummy</code>
+            will be answered with the mock data for
+            <code>http://www.example.com?q=test+query</code>.
+            Setting "api_key,q" or "*" will result in mock answer for
+            <code>http://www.example.com</code>.
           </listitem>
         </itemizedlist>
       </para>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]