assert_recognizes is part of rails. Ruby-core is for discussion of RubyÃÔ development. You will have better chance of asking your question on the ruby-lang mailing list, the rubyonrails-talk google group, etc.. On Fri, Oct 2, 2009 at 4:42 AM, Jarl Friis <jarl / gavia.dk> wrote: > I am trying to use the extras parameter in assert_recognizes I have > something similar to the documentation: > > assert_recognizes {:controller => 'items', :action => 'list', :id => '1', :view => 'print'}, 'items/list/1', { :view => "print" } > > this works fine, the test passes, however. If I write like this > > assert_recognizes {:controller => 'items', :action => 'list', :id => '1', :view => 'BULLSHIT'}, 'items/list/1', { :view => "print" } > > The test also passes, which worries me a lot, I would expect it to > fail. > > To me it looks like a bug in assert_recognizes, it ignores the extra > view parameter > > Jarl > > >