[Nitro] [PATCH][FIX] fix-nitro-compiler-param-processing

Jonathan Buch john at oxyliquit.de
Sat Apr 29 06:07:50 EDT 2006


> assert_match(/#{params}/, get(:uri => '/test', :params => { 'params' =>
> '1', 'arg2'=>'2' }))
> this line fails with
> <"arg1=&arg2="> expected to be =~ </arg1=1&arg2=2/>.

Now that I think about it, I think it is correct to fail here.

Why should this url:
map to the same as:
     /test/1/2 ?

Wouldn't it complicate matters too much, if this is allowed?

I'm really not sure about all this... Maybe thats where the error
originates from?


Feel the love

More information about the Nitro-general mailing list