<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,6 +6,7 @@ so the autotest executable won't automatically load rspec anymore. This allows
 rspec to live side by side other spec frameworks without always co-opting
 autotest through autotest's discovery mechanism.
 
+* Generated route specs have shorter names, making it less painful to modify their implementation
 * Add conditional so Rails 2.1.0 doesn't warn about cache_template_extensions (patch from James Herdman)
 * Fixed stub_model examples to work with Rails 2.1.0 (the code was fine, just the examples needed patching)
 * use hoe for build/release</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -2,59 +2,57 @@ require File.expand_path(File.dirname(__FILE__) + '&lt;%= '/..' * class_nesting_dep
 
 describe &lt;%= controller_class_name %&gt;Controller do
   describe &quot;route generation&quot; do
-
-    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'index' } to /&lt;%= table_name %&gt;&quot; do
+    it &quot;should map #index&quot; do
       route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;index&quot;).should == &quot;/&lt;%= table_name %&gt;&quot;
     end
   
-    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'new' } to /&lt;%= table_name %&gt;/new&quot; do
+    it &quot;should map #new&quot; do
       route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;new&quot;).should == &quot;/&lt;%= table_name %&gt;/new&quot;
     end
   
-    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'show', :id =&gt; 1 } to /&lt;%= table_name %&gt;/1&quot; do
+    it &quot;should map #show&quot; do
       route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;show&quot;, :id =&gt; 1).should == &quot;/&lt;%= table_name %&gt;/1&quot;
     end
   
-    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'edit', :id =&gt; 1 } to /&lt;%= table_name %&gt;/1&lt;%= resource_edit_path %&gt;&quot; do
+    it &quot;should map #edit&quot; do
       route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;edit&quot;, :id =&gt; 1).should == &quot;/&lt;%= table_name %&gt;/1&lt;%= resource_edit_path %&gt;&quot;
     end
   
-    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'update', :id =&gt; 1} to /&lt;%= table_name %&gt;/1&quot; do
+    it &quot;should map #update&quot; do
       route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;update&quot;, :id =&gt; 1).should == &quot;/&lt;%= table_name %&gt;/1&quot;
     end
   
-    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'destroy', :id =&gt; 1} to /&lt;%= table_name %&gt;/1&quot; do
+    it &quot;should map #destroy&quot; do
       route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;destroy&quot;, :id =&gt; 1).should == &quot;/&lt;%= table_name %&gt;/1&quot;
     end
   end
 
   describe &quot;route recognition&quot; do
-
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'index' } from GET /&lt;%= table_name %&gt;&quot; do
+    it &quot;should generate params for #index&quot; do
       params_from(:get, &quot;/&lt;%= table_name %&gt;&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;index&quot;}
     end
   
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'new' } from GET /&lt;%= table_name %&gt;/new&quot; do
+    it &quot;should generate params for #new&quot; do
       params_from(:get, &quot;/&lt;%= table_name %&gt;/new&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;new&quot;}
     end
   
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'create' } from POST /&lt;%= table_name %&gt;&quot; do
+    it &quot;should generate params for #create&quot; do
       params_from(:post, &quot;/&lt;%= table_name %&gt;&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;create&quot;}
     end
   
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'show', id =&gt; '1' } from GET /&lt;%= table_name %&gt;/1&quot; do
+    it &quot;should generate params for #show&quot; do
       params_from(:get, &quot;/&lt;%= table_name %&gt;/1&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;show&quot;, :id =&gt; &quot;1&quot;}
     end
   
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'edit', id =&gt; '1' } from GET /&lt;%= table_name %&gt;/1;edit&quot; do
+    it &quot;should generate params for #edit&quot; do
       params_from(:get, &quot;/&lt;%= table_name %&gt;/1&lt;%= resource_edit_path %&gt;&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;edit&quot;, :id =&gt; &quot;1&quot;}
     end
   
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'update', id =&gt; '1' } from PUT /&lt;%= table_name %&gt;/1&quot; do
+    it &quot;should generate params for #update&quot; do
       params_from(:put, &quot;/&lt;%= table_name %&gt;/1&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;update&quot;, :id =&gt; &quot;1&quot;}
     end
   
-    it &quot;should generate params { :controller =&gt; '&lt;%= table_name %&gt;', action =&gt; 'destroy', id =&gt; '1' } from DELETE /&lt;%= table_name %&gt;/1&quot; do
+    it &quot;should generate params for #destroy&quot; do
       params_from(:delete, &quot;/&lt;%= table_name %&gt;/1&quot;).should == {:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;destroy&quot;, :id =&gt; &quot;1&quot;}
     end
   end</diff>
      <filename>generators/rspec_scaffold/templates/routing_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fff41e5a9bc3c684da1b43786952b9c50e4a0b35</id>
    </parent>
  </parents>
  <author>
    <name>Aslak Helles&#248;y</name>
    <email>aslak.hellesoy@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/732577a9326841a9c933b3b8d2479f9ef1fc2570</url>
  <id>732577a9326841a9c933b3b8d2479f9ef1fc2570</id>
  <committed-date>2008-08-01T02:18:13-07:00</committed-date>
  <authored-date>2008-08-01T02:18:13-07:00</authored-date>
  <message>Generated route specs have shorter names, making it less painful to modify their implementation</message>
  <tree>eebf50d6a8077ed1d73bbfe2a5687bb6fcf9c409</tree>
  <committer>
    <name>Aslak Helles&#248;y</name>
    <email>aslak.hellesoy@gmail.com</email>
  </committer>
</commit>
