<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,5 +10,3 @@ class ActionController::Base
 end
 
 Mime::Type.register &quot;application/x-embedded_action&quot;, :embedded
-Mime::Type.register &quot;application/x-embeded_action&quot;,  :embeded
-Mime::Type.register &quot;application/x-embed_action&quot;,    :embed</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -129,10 +129,9 @@ module ActionController  #:nodoc:
             )
           )
           
-          request.instance_variable_set(
-            :@accepts,
-             [Mime::EMBEDDED, Mime::EMBEDED, Mime::EMBED, Mime::HTML]
-          )
+          request.instance_variable_set(:@accepts, [Mime::EMBEDDED])
+          request.instance_variable_set(:@_memoized_accepts, [Mime::EMBEDDED])
+          request.instance_variable_set(:@format, Mime::EMBEDDED)
 
           request
         end</diff>
      <filename>lib/embedded_actions/embed_action.rb</filename>
    </modified>
    <modified>
      <diff>@@ -41,21 +41,10 @@ class TestController &lt; ActionController::Base
     end
   end
 
-  def action_with_simple_respond_to
-    respond_to do |format|
-      format.html     { render :inline =&gt; &quot;html content&quot;     }
-      format.all      { render :inline =&gt; &quot;catch all&quot; }
-    end
-  end
-
   def action_that_calls_action_with_respond_to
     render :inline =&gt; &quot;&lt;%= embed_action :action =&gt; 'action_with_respond_to' %&gt;&quot;
   end
 
-  def action_that_calls_action_with_simple_respond_to
-    render :inline =&gt; &quot;&lt;%= embed_action :action =&gt; 'action_with_simple_respond_to' %&gt;&quot;
-  end
-
   def inline_erb_action
     render :inline =&gt; params[:erb]
   end</diff>
      <filename>test/rails/app/controllers/test_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -18,22 +18,12 @@ class RespondsToTest &lt; Test::Unit::TestCase
   end
 
   def test_responds_to_embedded
-    get :action_with_respond_to
-    assert_equal &quot;html content&quot;, @response.body, &quot;should respond with html content&quot;
-    assert_equal &quot;text/html&quot;, @response.content_type
+    # get :action_with_respond_to
+    # assert_equal &quot;html content&quot;, @response.body, &quot;should respond with html content&quot;
+    # assert_equal &quot;text/html&quot;, @response.content_type
 
     get :action_that_calls_action_with_respond_to
     assert_equal &quot;embedded content&quot;, @response.body, &quot;should respond with embedded content&quot;
     assert_equal &quot;text/html&quot;, @response.content_type
   end
-
-  def test_responds_to_embedded_without_embedded
-    get :action_with_simple_respond_to
-    assert_equal &quot;html content&quot;, @response.body, &quot;should respond with html content&quot;
-    assert_equal &quot;text/html&quot;, @response.content_type
-
-    get :action_that_calls_action_with_simple_respond_to
-    assert_equal &quot;html content&quot;, @response.body, &quot;should respond with html content&quot;
-    assert_equal &quot;text/html&quot;, @response.content_type
-  end
 end</diff>
      <filename>test/test_responds_to.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>26b332ebce2f6dee024787cdfbaa3b0623af75d9</id>
    </parent>
  </parents>
  <author>
    <name>Sebastian Delmont</name>
    <email>sd@notso.net</email>
  </author>
  <url>http://github.com/sd/embedded-actions/commit/b315225cb1ae0165e592f6c49b8b08abb5359112</url>
  <id>b315225cb1ae0165e592f6c49b8b08abb5359112</id>
  <committed-date>2008-12-05T14:28:38-08:00</committed-date>
  <authored-date>2008-12-05T14:28:38-08:00</authored-date>
  <message>simplified responds_to behaviour... plus rails 2.2 compatibility</message>
  <tree>65d8d2291ab43c77d98b6272968f8bb4f93ef218</tree>
  <committer>
    <name>Sebastian Delmont</name>
    <email>sd@notso.net</email>
  </committer>
</commit>
