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