<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,11 @@ module ActionView #:nodoc:
           end
         end
       end
-      super(partial_path, local_assigns, deprecated_local_assigns)
+      begin
+        super(partial_path, local_assigns, deprecated_local_assigns)
+      rescue ArgumentError # edge rails &gt; 2.1 changed render_partial to accept only one arg
+        super(partial_path)
+      end
     end
 
     alias_method :orig_render, :render</diff>
      <filename>lib/spec/rails/extensions/action_view/base.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2cddc904bdfb70bf201123d4fc6731512cde5482</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>david@david-chelimskys-macbook-pro.local</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/1825a662bf45a9630c3177c4109e3f17906723aa</url>
  <id>1825a662bf45a9630c3177c4109e3f17906723aa</id>
  <committed-date>2008-08-23T13:45:48-07:00</committed-date>
  <authored-date>2008-08-23T13:45:48-07:00</authored-date>
  <message>handle render_partial with either 1 or 3 parameters</message>
  <tree>d0291385740dc8e565a9a49b0187fc4f6e4fea91</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>david@david-chelimskys-macbook-pro.local</email>
  </committer>
</commit>
