validates_email_format_of gem was giving out-of-date errors fixed in the github source
Update shoulda gem to most recent possible for Ruby 1.8.7
Move code from an overridden #validate method (now a deprecated technique) to a consolidated model method called by Base.validate.
In this case it was validation where certain attributes may or may not be required depending on whether the applicant is a US citizen.
Change deprecated code for equivalents. Now we always use "validates :method_name", and referencing an ID attribute via [:id] does not set off the mistaken deprecation warning against called Object#id
Remove redundant routes and put the "root" route at the top.
The PGP field seems to have changed to be numeric-only since this factory sequence was written, so removing the alpha prefix.
Fixtures not being used and anyway only causing problems since their sample data are mostly hopelessly out of date. Deactivating fixtures.
Calling save(false) in now deprecated in favour of save(:validate => false)
Perhaps all modules in /lib are meant to be loaded automatically, but until that time explicit includes seem to be necessary at least for test cases.
Here including authenticated_test_helper.rb to gain access to test methods for logging in and out.
More deprecation updates: now TestCase is part of ActiveSupport, not Test::Unit. And now model errors are accessed via errors[] rather than errors.on().
Needed to include the login "macro" to get these tests to run.
Switched to using ActionController::TestCase, which is now the correct controller test class from which to inherit.
Also note that #setup sets up @controller, @request, and @response by default, so I've removed these.
Mild updates to gems and a few descriptive comments added.
Correct flash notice handling.
Recaptcha no longer requires require in require.rb
Absolute minimal changes to fixtures so that "fixtures :all" can be called in test_helper.rb without crapping out. The values are still meaningless and possibly full of referential issues.
Bring in the "test macros" at the test_helper.rb level, so they don't have to required explicitly, which was causing many functional tests to fail.
Apparently starting in Rails 3 the quoted_printable part is done automagically if you're using UTF-8. The attempted inclusion of the Quoting module was causing fundamental problems during rake test.
Removal of unused 'hoptoad' gem.
Update deprecated usages of "errors[]" in model.
One of the rake db:bootstrap:load "fixture" files, but there are already too many to keep consistent (here, in the test fixtures, and in rake db:seed_enrollment_steps).
And since we want to get rid of db:bootstrap:load, probably, better to favour rake db:seed_enrollment_steps. Therefore removing this file.