<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,6 +16,11 @@ require File.dirname(__FILE__) + '/../../../spec_helper'
         should render_template('some_action')
       end
 
+      it &quot;matches an action with specified extenstions&quot; do
+        post 'some_action'
+        should render_template('some_action.html.erb')
+      end
+
       it &quot;matches an action (using a symbol)&quot; do
         post 'some_action'
         should render_template(:some_action)
@@ -70,8 +75,8 @@ require File.dirname(__FILE__) + '/../../../spec_helper'
       it &quot;fails on the wrong extension&quot; do
         get 'some_action'
         lambda {
-          should render_template('render_spec/some_action.rjs')
-        }.should fail_with(/expected \&quot;render_spec\/some_action\.rjs\&quot;, got \&quot;render_spec\/some_action(\.html\.erb)?\&quot;/)
+          should render_template('render_spec/some_action.js.rjs')
+        }.should fail_with(/expected \&quot;render_spec\/some_action\.js\.rjs\&quot;, got \&quot;render_spec\/some_action(\.html\.erb)?\&quot;/)
       end
     
       it &quot;faild when TEXT is rendered&quot; do</diff>
      <filename>spec/spec/rails/matchers/render_template_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ac557466c4748d72764e6c2d53ac4a22d1a389de</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/a8409f9135505dd4c263221257453131bb46d230</url>
  <id>a8409f9135505dd4c263221257453131bb46d230</id>
  <committed-date>2009-03-07T12:10:33-08:00</committed-date>
  <authored-date>2009-03-07T12:10:33-08:00</authored-date>
  <message>add example expecting a template with a specific extension</message>
  <tree>c2b19d62041ad02520ecf49744e1b5d6b1269a01</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
