assert_select has been moved into the rails-dom-testing gem and is now
based on Nokogiri.
* Remove assert_tag and assert_xml_select
* Quote CSS attribute selector values
* Use decoded versions of HTML in assert_select. Nokogiri decodes
elements prior to matching.
* Add a test helper for entities such as ` ` for which it's
difficult or confusing to include the decoded version directly in the
assertion.
* Assert directly on Atom feeds' XML namespace because it isn't
selectable as an attribute
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
date verbatim
* calling a controller will set the timezone to the preference of the
current_user. So it could be changed while you do not realize this. I
fixed the failing test, but problems could be elsewhere
As far as I can tell, this is how the test is intended to work, and how
it works in v2.2.2. If a recurring todo set to show on the date is
completed *on* the specified date, it will create a deferred one for the
*next* month.