<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,8 +17,8 @@ module Trample
       @iterations
     end
 
-    def get(url)
-      @pages &lt;&lt; Page.new(:get, url)
+    def get(url, &amp;block)
+      @pages &lt;&lt; Page.new(:get, url, block || {})
     end
 
     def post(url, params = nil, &amp;block)</diff>
      <filename>lib/trample/configuration.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,9 @@ class ConfigurationTest &lt; Test::Unit::TestCase
       @config = Trample::Configuration.new do
         concurrency 2
         iterations  1
-        get &quot;http://google.com/&quot;
+        get &quot;http://google.com/&quot; do
+          {:a =&gt; 'b'}
+        end
         post &quot;http://google.com/&quot;, {:q =&gt; &quot;something&quot;}
         post &quot;http://google.com/&quot;, &amp;@params_proc
         login do
@@ -30,6 +32,10 @@ class ConfigurationTest &lt; Test::Unit::TestCase
       assert_equal Trample::Page.new(:get, &quot;http://google.com/&quot;), @config.pages.first
     end
 
+    should &quot;add get params to the array of pages&quot; do
+      assert_equal({:a =&gt; &quot;b&quot;}, @config.pages.first.parameters)
+    end
+
     should &quot;add post requests to the array of pages, including their params&quot; do
       expected = Trample::Page.new(:post, &quot;http://google.com/&quot;, {:q =&gt; &quot;something&quot;})
       assert_equal expected, @config.pages[1]</diff>
      <filename>test/configuration_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1f14e0e79bc0abf79fd5376da80d1cf1e99ffe60</id>
    </parent>
  </parents>
  <author>
    <name>James Golick</name>
    <email>james@giraffesoft.ca</email>
  </author>
  <url>http://github.com/jamesgolick/trample/commit/5c9fadd7d68cbcd0c565d0986d8ff19f40a4f5ed</url>
  <id>5c9fadd7d68cbcd0c565d0986d8ff19f40a4f5ed</id>
  <committed-date>2009-06-04T11:36:08-07:00</committed-date>
  <authored-date>2009-06-04T11:36:08-07:00</authored-date>
  <message>make sure GETs can have config parameters</message>
  <tree>961d882f7d89a43f77c5ed15989586f084b4136b</tree>
  <committer>
    <name>James Golick</name>
    <email>james@giraffesoft.ca</email>
  </committer>
</commit>
