<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -63,20 +63,24 @@ module InheritedControllerSpec
   describe SuperController do
     describe &quot;GET :an_action&quot; do
       it &quot;should execute action&quot; do
-        pending &quot;rspec/rails2.3 integrate_views working&quot; do
-          @controller.should_receive :inside_an_action
-          get :an_action
+        if Rails.version &gt;= '2.3'
+          pending &quot;rspec/rails2.3 integrate_views working&quot; do
+            @controller.should_receive :inside_an_action
+            get :an_action
+          end
         end
       end
     
       it &quot;should render :an_action&quot; do
-        pending &quot;rspec/rails2.3 integrate_views working&quot; do
-          get :an_action
-          # different rails/rspec behaviour catered for
-          begin
-            response.should render_template('an_action')
-          rescue
-            response.should render_template('inherited_spec/super/an_action')
+        if Rails.version &gt;= '2.3'
+          pending &quot;rspec/rails2.3 integrate_views working&quot; do
+            get :an_action
+            # different rails/rspec behaviour catered for
+            begin
+              response.should render_template('an_action')
+            rescue
+              response.should render_template('inherited_spec/super/an_action')
+            end
           end
         end
       end
@@ -84,16 +88,20 @@ module InheritedControllerSpec
     
     describe &quot;GET :a_response&quot; do
       it &quot;should execute inside the super response block&quot; do
-        pending &quot;rspec/rails2.3 integrate_views working&quot; do
-          @controller.should_receive :super_inside_a_response
-          get :a_response
+        if Rails.version &gt;= '2.3'
+          pending &quot;rspec/rails2.3 integrate_views working&quot; do
+            @controller.should_receive :super_inside_a_response
+            get :a_response
+          end
         end
       end
       
       it &quot;should NOT execute inside the sub response block&quot; do
-        pending &quot;rspec/rails2.3 integrate_views working&quot; do
-          @controller.should_not_receive :sub_inside_a_response
-          get :a_response
+        if Rails.version &gt;= '2.3'
+          pending &quot;rspec/rails2.3 integrate_views working&quot; do
+            @controller.should_not_receive :sub_inside_a_response
+            get :a_response
+          end
         end
       end
     end
@@ -121,16 +129,20 @@ module InheritedControllerSpec
     
     describe &quot;GET :a_response (decorated with a new response)&quot; do
       it &quot;should NOT execute the super response&quot; do
-        pending &quot;rspec/rails2.3 integrate_views working&quot; do
-          @controller.should_not_receive :super_inside_a_response
-          get :a_response
+        if Rails.version &gt;= '2.3'
+          pending &quot;rspec/rails2.3 integrate_views working&quot; do
+            @controller.should_not_receive :super_inside_a_response
+            get :a_response
+          end
         end
       end
 
       it &quot;should execute the sub response&quot; do
-        pending &quot;rspec/rails2.3 integrate_views working&quot; do
-          @controller.should_receive :sub_inside_a_response
-          get :a_response
+        if Rails.version &gt;= '2.3'
+          pending &quot;rspec/rails2.3 integrate_views working&quot; do
+            @controller.should_receive :sub_inside_a_response
+            get :a_response
+          end
         end
       end
     end</diff>
      <filename>spec/controllers/inherited_controllers_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6d1876a05f18d2e98dcf4fedfaf88d4bbc36774</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/response_for/commit/bcc544a726990f851051f09bb8799e69d0e34f46</url>
  <id>bcc544a726990f851051f09bb8799e69d0e34f46</id>
  <committed-date>2009-02-03T05:04:25-08:00</committed-date>
  <authored-date>2009-02-03T05:04:25-08:00</authored-date>
  <message>Make pending specs only run in Rails2.3, so that they don't fail (b/c they pass) on older Rails builds in CI</message>
  <tree>4e06d976b576f7d3651743e18d28b8202f0db65c</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
