[#25936] [Bug:1.9] [rubygems] $LOAD_PATH includes bin directory — Nobuyoshi Nakada <nobu@...>

Hi,

10 messages 2009/10/05

[#25943] Disabling tainting — Tony Arcieri <tony@...>

Would it make sense to have a flag passed to the interpreter on startup that

16 messages 2009/10/05

[#26028] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error — Marc-Andre Lafortune <redmine@...>

Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error

14 messages 2009/10/10

[#26222] [Bug #2250] IO::for_fd() objects' finalization dangerously closes underlying fds — Mike Pomraning <redmine@...>

Bug #2250: IO::for_fd() objects' finalization dangerously closes underlying fds

11 messages 2009/10/22

[#26244] [Bug #2258] Kernel#require inside rb_require() inside rb_protect() inside SysV context fails — Suraj Kurapati <redmine@...>

Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails

24 messages 2009/10/22

[#26361] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine — Suraj Kurapati <redmine@...>

Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine

42 messages 2009/10/27

[#26371] [Bug #2295] segmentation faults — tomer doron <redmine@...>

Bug #2295: segmentation faults

16 messages 2009/10/27

[ruby-core:25913] Re: possible bug: assert_recognizes

From: Marc-Andre Lafortune <ruby-core-mailing-list@...>
Date: 2009-10-03 04:57:58 UTC
List: ruby-core #25913
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
>
>
>

In This Thread

Prev Next