Changeset 386

Show
Ignore:
Timestamp:
08/05/07 13:53:48 (1 year ago)
Author:
e.@brainspl.at
Message:

router specs. use :namespace at your own risk as it's not fully baked yet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/specs/merb/merb_router_spec.rb

    r381 r386  
    7777  it "should generate custom_new_comment path" do 
    7878    c = Comment.new 
    79     #Merb::Router.generator.paths.sort {|a,b| a.last <=> b.last }.each {|p| puts p.inspect} 
    8079    Merb::Router.generate(:custom_new_comment, c, :action => 'foo').should == '/blogposts/42/comments/new/foo' 
    8180  end