Anyone else having trouble with assert_tag :content?

Hi everyone,

In an integration test I have assert_tag :content => /Quantity/
and this always fails, even though Quantity does exist in the html.

Similarly, I have assert_no_tag :content => /Quantity/ , and this fails
even
when Quantity doesn’t exist in the html.

Am I missing something here?

Thanks
Daniel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs