spec/unit/router_spec.rb in restfulness-0.2.6 vs spec/unit/router_spec.rb in restfulness-0.3.0

- old
+ new

@@ -46,13 +46,13 @@ obj = klass.new obj.add 'project', RouterResource do add 'examples', SecondRouterResource end route = obj.routes.first - route.resource.should eql(RouterResource) + route.resource.should eql(SecondRouterResource) route.path.should eql(['project', 'examples']) route = obj.routes.last - route.resource.should eql(SecondRouterResource) + route.resource.should eql(RouterResource) route.path.should eql(['project']) end end describe "#scope" do