<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -44,14 +44,14 @@ module RequestPathIntrospectionSpec
       end
 
       it &quot;should remove the controller_name segment, even when id matches controller name&quot; do
-        @controller.stub!(:request_path).and_return('/users/1/forums/forums.atom')
-        @controller.send(:nesting_request_path).should == '/users/1'
+        @controller.stub!(:request_path).and_return('/forums/1/forums/forums.atom')
+        @controller.send(:nesting_request_path).should == '/forums/1'
       end
 
       it &quot;should remove only the controller_name segment even when nesting is same name&quot; do
         @controller.stub!(:resource_specification).and_return(Ardes::ResourcesController::Specification.new(:forum, :class =&gt; RequestPathIntrospectionSpec::Forum, :singleton =&gt; true))
-        @controller.stub!(:request_path).and_return('/users/1/forums/forums.atom')
-        @controller.send(:nesting_request_path).should == '/users/1/forums'
+        @controller.stub!(:request_path).and_return('/users/1/forum/forum.atom')
+        @controller.send(:nesting_request_path).should == '/users/1/forum'
       end
       
       it &quot;should remove any controller namespace&quot; do</diff>
      <filename>spec/lib/request_path_introspection_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1c976d395f8efb04edf83e6933f9a3b4952aefd7</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/resources_controller/commit/5d21f7f4ad70950b9d56e866d40232d44756d437</url>
  <id>5d21f7f4ad70950b9d56e866d40232d44756d437</id>
  <committed-date>2009-10-08T05:58:10-07:00</committed-date>
  <authored-date>2009-10-08T05:58:10-07:00</authored-date>
  <message>Rewrite singleton nesting_request_path spec to match usual intended use</message>
  <tree>f3ae3890e9c73bebe163e1f9ba8f6de798b03654</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
