<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -140,6 +140,15 @@ When the method is called &quot;Information&quot; is returned.
   view = controller.template
   mock(view).render(:partial =&gt; &quot;user_info&quot;) {&quot;Information&quot;}
 
+You can also allow any number of arguments to be passed into the mock by using:
+  mock(view).render.with_any_args.twice do |*args|
+    if args.first == {:partial =&gt; &quot;user_info}
+      &quot;User Info&quot;
+    else
+      &quot;Stuff in the view #{args.inspect}&quot;
+    end
+  end
+
 === stub
 stub replaces the method on the object with only an implementation. You
 can still use arguments to differentiate which stub gets invoked.</diff>
      <filename>README.rdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0d8cde3830990ad57496ebdeabb84138793210be</id>
    </parent>
  </parents>
  <author>
    <name>Brian Takita</name>
    <email>brian@honk.com</email>
  </author>
  <url>http://github.com/btakita/rr/commit/7d283d0bb48b7a2ef001b03095732cfa1bdeab1d</url>
  <id>7d283d0bb48b7a2ef001b03095732cfa1bdeab1d</id>
  <committed-date>2009-10-18T22:59:10-07:00</committed-date>
  <authored-date>2009-10-18T22:59:10-07:00</authored-date>
  <message>Added docs for .with_any_args.
Closes #10</message>
  <tree>a041b13a65816d265eff95c9438958585f229a0c</tree>
  <committer>
    <name>Brian Takita</name>
    <email>brian@honk.com</email>
  </committer>
</commit>
