On Oct 12, 2011, at 6:53 AM, Gordon Yeong wrote:

> What _will_ work is this:
> 
>  assert_select "input#brand_created_by", false

This ^^ does not include :name => "..."

> 
> 
> Hmmm. Sadly it does not work :( See below:
> 
> ---------------- extract start -------------------------
> 
>      Failure/Error: assert_select "input#brand_created_by", false, :name => 
> "brand[created_by]"

This ^^ does include :name => "....".

What happens when you just run

  assert_select "input#brand_created_by", false
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to