<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -26,6 +26,7 @@ module Spec
               if rails?(prefix)
                 path = path.gsub(/\/app\//, &quot;/spec/&quot;)
                 path = path.gsub(/\/lib\//, &quot;/spec/lib/&quot;)
+                path = path.gsub(/application/, 'application_controller')
               else
                 path = path.gsub(/\/lib\//, &quot;/spec/&quot;)
               end
@@ -39,6 +40,9 @@ module Spec
               if rails?(prefix)
                 path = path.gsub(/\/spec\/lib\//, &quot;/lib/&quot;)
                 path = path.gsub(/\/spec\//, &quot;/app/&quot;)
+                if File.basename(path) == 'application_controller.rb'
+                  path = path.gsub(/_controller/, &quot;&quot;)
+                end
               else
                 path = path.gsub(/\/spec\//, &quot;/lib/&quot;)
               end</diff>
      <filename>Support/lib/spec/mate/switch_command.rb</filename>
    </modified>
    <modified>
      <diff>@@ -116,6 +116,16 @@ EOF
         &quot;/a/full/path/app/controllers/mooky_controller.rb&quot;.should twin(
         &quot;/a/full/path/spec/controllers/mooky_controller_spec.rb&quot;)
       end
+      
+      it do
+        &quot;/a/full/path/app/controllers/application.rb&quot;.should twin(
+        &quot;/a/full/path/spec/controllers/application_controller_spec.rb&quot;)
+      end
+      
+      it do
+        &quot;/a/full/path/spec/controllers/application_controller_spec.rb&quot;.should twin(
+        &quot;/a/full/path/app/controllers/application.rb&quot;)
+      end
 
       it do
         &quot;/a/full/path/app/models/mooky.rb&quot;.should twin(</diff>
      <filename>Support/spec/spec/mate/switch_command_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8f272f25dba38766663753cc419a1187879fc6fb</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>david@chelimac.local</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-tmbundle/commit/8b3bc99c3211b3b319ea5e58faa67013481a197c</url>
  <id>8b3bc99c3211b3b319ea5e58faa67013481a197c</id>
  <committed-date>2008-08-05T02:05:25-07:00</committed-date>
  <authored-date>2008-08-05T02:05:25-07:00</authored-date>
  <message>Patch from Ryan Carmelo Briones to map alternate file for application.rb to application_controller_spec.rb. [#396 state:resolved]</message>
  <tree>7c52086a4975796b3cf04e72690daec2de2e1d98</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>david@chelimac.local</email>
  </committer>
</commit>
