<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -149,16 +149,18 @@ describe &quot;A view that includes a partial using :collection and :spacer_template&quot;
 
 end
 
-describe &quot;A view that includes a partial using an array as partial_path&quot;, :type =&gt; :view do
-  before(:each) do
-    renderable_object = Object.new
-    renderable_object.stub!(:name).and_return(&quot;Renderable Object&quot;)
-    assigns[:array] = [renderable_object]
-  end
+if Rails::VERSION::MAJOR &gt;= 2
+  describe &quot;A view that includes a partial using an array as partial_path&quot;, :type =&gt; :view do
+    before(:each) do
+      renderable_object = Object.new
+      renderable_object.stub!(:name).and_return(&quot;Renderable Object&quot;)
+      assigns[:array] = [renderable_object]
+    end
 
-  it &quot;should render the array passed through to render_partial without modification&quot; do
-    render &quot;view_spec/template_with_partial_with_array&quot; 
-    response.body.should match(/^Renderable Object$/)
+    it &quot;should render the array passed through to render_partial without modification&quot; do
+      render &quot;view_spec/template_with_partial_with_array&quot; 
+      response.body.should match(/^Renderable Object$/)
+    end
   end
 end
 </diff>
      <filename>spec/rails/example/view_spec_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>905614b5c0afdb411f4eb321c5857fd6e3a5c57d</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/68226c616856554fd1d68af959fbdb94b0e46b78</url>
  <id>68226c616856554fd1d68af959fbdb94b0e46b78</id>
  <committed-date>2008-08-24T08:44:36-07:00</committed-date>
  <authored-date>2008-08-24T08:44:36-07:00</authored-date>
  <message>exclude :partial =&gt; array example when running against rails &lt; 2.0</message>
  <tree>f6cbf25b68e5e2d993089257adb4787339ce05d5</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>david@david-chelimskys-macbook-pro.local</email>
  </committer>
</commit>
