Moves them out of the rake task so that we can:
- Get coverage information locally
- Get reporting of coverage and code climate at the unit test level
Having it at the CI level was nice to get explicit coverage for both
cucumber and the test suite but it doesn't work if the test suite
doesn't run at all.
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
* Remove all methods implementing and checking for the old algorithm
* Document a pre-upgrade step to check for remaining obsolete passwords
* Remove config.salt
I created a new method accessible to all tests for forcing a user to the local time zone. The code was cribbed from Rails's rake tasks time:zones:local.