<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,20 +11,20 @@ describe &lt;%= controller_class_name %&gt;Controller 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
-      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;
+    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'show', :id =&gt; '1'} to /&lt;%= table_name %&gt;/1&quot; do
+      route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;show&quot;, :id =&gt; &quot;1&quot;).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
-      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;
+    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
+      route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;edit&quot;, :id =&gt; &quot;1&quot;).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
-      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;
+    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'update', :id =&gt; '1' } to /&lt;%= table_name %&gt;/1&quot; do
+      route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;update&quot;, :id =&gt; &quot;1&quot;).should == {:path =&gt; &quot;/&lt;%= table_name %&gt;/1&quot;, :method =&gt; :put}
     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
-      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;
+    it &quot;should map { :controller =&gt; '&lt;%= table_name %&gt;', :action =&gt; 'destroy', :id =&gt; '1' } to /&lt;%= table_name %&gt;/1&quot; do
+      route_for(:controller =&gt; &quot;&lt;%= table_name %&gt;&quot;, :action =&gt; &quot;destroy&quot;, :id =&gt; &quot;1&quot;).should == {:path =&gt; &quot;/&lt;%= table_name %&gt;/1&quot;, :method =&gt; :delete}
     end
   end
 </diff>
      <filename>generators/scaffold_resource/templates/rspec/routing_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,9 +11,9 @@ describe &quot;/&lt;%= table_name %&gt;/index.&lt;%= default_file_extension %&gt;&quot; do
 &lt;% end -%&gt;&lt;% end %&gt;
     assigns[:&lt;%= table_name %&gt;] = [&lt;%= file_name %&gt;_98, &lt;%= file_name %&gt;_99]
 
-    template.stub!(:object_url).and_return(&lt;%= file_name %&gt;_path(@&lt;%= file_name %&gt;)) 
+    template.stub!(:object_url).and_return(&lt;%= file_name %&gt;_path(&lt;%= file_name %&gt;_99))
     template.stub!(:new_object_url).and_return(new_&lt;%= file_name %&gt;_path) 
-    template.stub!(:edit_object_url).and_return(edit_&lt;%= file_name %&gt;_path(@&lt;%= file_name %&gt;)) 
+    template.stub!(:edit_object_url).and_return(edit_&lt;%= file_name %&gt;_path(&lt;%= file_name %&gt;_99))
   end
 
   it &quot;should render list of &lt;%= table_name %&gt;&quot; do</diff>
      <filename>generators/scaffold_resource/templates/rspec/views/index_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ce9143f25fa11d9ee850b3b193e69f3dd732ed85</id>
    </parent>
  </parents>
  <author>
    <name>Denis Grankin</name>
    <email>liquidautumn@linux-0pnm.site</email>
  </author>
  <url>http://github.com/giraffesoft/resource_controller/commit/7277cd88fa7efbbf4ed350913162989db996c33c</url>
  <id>7277cd88fa7efbbf4ed350913162989db996c33c</id>
  <committed-date>2009-03-30T17:30:56-07:00</committed-date>
  <authored-date>2009-03-30T17:30:56-07:00</authored-date>
  <message>fixes generator templates failing with current rspec version</message>
  <tree>2fdb8f309153811c06aad13ae2965a9d0c6a383c</tree>
  <committer>
    <name>Denis Grankin</name>
    <email>liquidautumn@linux-0pnm.site</email>
  </committer>
</commit>
